Univention Bugzilla – Attachment 7929 Details for
Bug 42148
sambaPwdLastSet is not always set to '0' when it should be
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
42148.patch (text/plain), 1.02 KB, created by
Florian Best
on 2016-08-26 16:31:18 CEST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2016-08-26 16:31:18 CEST
Size:
1.02 KB
patch
obsolete
>diff --git a/management/univention-directory-manager-modules/modules/univention/admin/handlers/users/user.py b/management/univention-directory-manager-modules/modules/univention/admin/handlers/users/user.py >index ef32260..4a53c0d 100644 >--- a/management/univention-directory-manager-modules/modules/univention/admin/handlers/users/user.py >+++ b/management/univention-directory-manager-modules/modules/univention/admin/handlers/users/user.py >@@ -2198,6 +2198,10 @@ def _ldap_modlist(self): > if old_shadowExpire != shadowExpire: > ml.append(('shadowExpire', old_shadowExpire, shadowExpire)) > >+ if pwd_change_next_login == 0 and not self.exists() and self['pwdChangeNextLogin'] == '1': >+ # pwd_change_next_login is set to 0 above so that the code block below is not executed anymore >+ sambaPwdLastSetValue = '0' >+ > if pwd_change_next_login == 1: # ! self.modifypassword or no pwhistoryPolicy['expiryInterval'] > if 'posix' in self.options or 'mail' in self.options: > pwhistoryPolicy = self.loadPolicyObject('policies/pwhistory')
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 42148
: 7929