Univention Bugzilla – Attachment 8139 Details for
Bug 42310
Login to UMC on DC Slave takes very long if UCS Master is down
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
42310.patch (text/plain), 1.26 KB, created by
Florian Best
on 2016-10-20 12:36:42 CEST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2016-10-20 12:36:42 CEST
Size:
1.26 KB
patch
obsolete
>diff --git a/management/univention-management-console/src/univention/management/console/auth.py b/management/univention-management-console/src/univention/management/console/auth.py >index ec6ee93..1f4843e 100644 >--- a/management/univention-management-console/src/univention/management/console/auth.py >+++ b/management/univention-management-console/src/univention/management/console/auth.py >@@ -42,8 +42,8 @@ > import notifier.signals as signals > import notifier.threads as threads > >-from univention.uldap import getMachineConnection > from univention.management.console.log import AUTH >+from univention.management.console.ldap import get_machine_connection > from univention.management.console.pam import PamAuth, AuthenticationError, AuthenticationFailed, AuthenticationInformationMissing, PasswordExpired, AccountExpired, PasswordChangeFailed > > >@@ -127,7 +127,7 @@ def __authenticate_thread(self, username, password, new_password, **custom_promp > > def __canonicalize_username(self, username): > try: >- lo = getMachineConnection() >+ lo, po = get_machine_connection(write=False) > attr = 'mailPrimaryAddress' if '@' in username else 'uid' > result = lo.search('%s=%s' % (attr, escape_filter_chars(username)), attr=['uid'], unique=True) > if result and result[0][1].get('uid'):
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 42310
:
8139
|
8140