Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
gajim
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
210
Issues
210
List
Boards
Labels
Service Desk
Milestones
Merge Requests
22
Merge Requests
22
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gajim
gajim
Commits
d0e602bd
Commit
d0e602bd
authored
Feb 12, 2021
by
Philipp Hörist
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add setting for GSSAPI authentication
parent
c6fd3959
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
gajim/common/client.py
gajim/common/client.py
+5
-0
gajim/common/setting_values.py
gajim/common/setting_values.py
+1
-0
gajim/gtk/accounts.py
gajim/gtk/accounts.py
+3
-0
No files found.
gajim/common/client.py
View file @
d0e602bd
...
...
@@ -167,6 +167,11 @@ def _create_client(self):
# his password
self
.
password
=
passwords
.
get_password
(
self
.
_account
)
gssapi
=
app
.
settings
.
get_account_setting
(
self
.
_account
,
'enable_gssapi'
)
if
gssapi
:
self
.
_client
.
set_mechs
([
'GSSAPI'
])
anonymous
=
app
.
settings
.
get_account_setting
(
self
.
_account
,
'anonymous_auth'
)
if
anonymous
:
...
...
gajim/common/setting_values.py
View file @
d0e602bd
...
...
@@ -258,6 +258,7 @@ class _ACCOUNT_DEFAULT:
'gc_send_marker_private_default'
:
True
,
'gc_send_marker_public_default'
:
False
,
'chat_history_max_age'
:
-
1
,
'enable_gssapi'
:
False
,
},
'contact'
:
{
...
...
gajim/gtk/accounts.py
View file @
d0e602bd
...
...
@@ -994,6 +994,9 @@ def __init__(self, account, parent):
Setting
(
SettingKind
.
CHANGEPASSWORD
,
_
(
'Change Password'
),
SettingType
.
DIALOG
,
callback
=
self
.
on_password_change
,
props
=
{
'dialog'
:
None
}),
Setting
(
SettingKind
.
SWITCH
,
_
(
'Use GSSAPI'
),
SettingType
.
ACCOUNT_CONFIG
,
'enable_gssapi'
),
]
SettingsDialog
.
__init__
(
self
,
parent
,
_
(
'Login Settings'
),
...
...
Philipp Hörist
@lovetox
mentioned in issue
#10444 (closed)
·
Feb 12, 2021
mentioned in issue
#10444 (closed)
mentioned in issue #10444
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment