Univention Bugzilla – Attachment 10484 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), 1.19 KB, created by
Julia Bremer
on 2020-09-11 09:40:07 CEST
(
hide
)
Description:
evaluate correctly if pwdChangeNextLogin shall be updated
Filename:
MIME Type:
Creator:
Julia Bremer
Created:
2020-09-11 09:40:07 CEST
Size:
1.19 KB
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..fe68537685 100644 >--- services/univention-ad-connector/modules/univention/connector/ad/password.py >+++ services/univention-ad-connector/modules/univention/connector/ad/password.py >@@ -544,10 +544,10 @@ 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: >+ if (old_krb5end or new_krb5end) and (pwdLastSet != 0): > ud.debug(ud.LDAP, ud.INFO, "password_sync: update krb5PasswordEnd to %s for %s" % (new_krb5end, ucs_object['dn'])) > modlist.append(('krb5PasswordEnd', old_krb5end, new_krb5end)) > else:
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