Univention Bugzilla – Attachment 10483 Details for
Bug 51904
password won't be updated through AD-connector in UCS, if flag "change password next login" is already set
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
evaluate correctly if pwdChangeNextLogin shall be updated
pwdChangeNextLogin.patch (text/plain), 964 bytes, created by
Julia Bremer
on 2020-09-10 19:41:11 CEST
(
hide
)
Description:
evaluate correctly if pwdChangeNextLogin shall be updated
Filename:
MIME Type:
Creator:
Julia Bremer
Created:
2020-09-10 19:41:11 CEST
Size:
964 bytes
patch
obsolete
>diff --git services/univention-ad-connector/modules/univention/connector/ad/password.py services/univention-ad-connector/modules/univention/connector/ad/password.py >index c96a81a61f..0ea7c15777 100644 >--- services/univention-ad-connector/modules/univention/connector/ad/password.py >+++ services/univention-ad-connector/modules/univention/connector/ad/password.py >@@ -544,7 +544,7 @@ def password_sync(connector, key, ucs_object): > > # update shadowMax (set to value of univentionPWExpiryInterval, otherwise delete) and > # krb5PasswordEnd (set to today + univentionPWExpiryInterval, otherwise delete) >- if old_shadowMax or new_shadowMax and pwdLastSet != 0: >+ if (old_shadowMax or new_shadowMax) and (pwdLastSet != 0): > ud.debug(ud.LDAP, ud.INFO, "password_sync: update shadowMax to %s for %s" % (new_shadowMax, ucs_object['dn'])) > modlist.append(('shadowMax', old_shadowMax, new_shadowMax)) > if old_krb5end or new_krb5end and pwdLastSet != 0:
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 51904
:
10483
|
10484