Lines 2198-2203
def _ldap_modlist(self):
|
Link Here
|
---|
|
2198 |
if old_shadowExpire != shadowExpire: |
2198 |
if old_shadowExpire != shadowExpire: |
2199 |
ml.append(('shadowExpire', old_shadowExpire, shadowExpire)) |
2199 |
ml.append(('shadowExpire', old_shadowExpire, shadowExpire)) |
2200 |
|
2200 |
|
|
|
2201 |
if pwd_change_next_login == 0 and not self.exists() and self['pwdChangeNextLogin'] == '1': |
2202 |
# pwd_change_next_login is set to 0 above so that the code block below is not executed anymore |
2203 |
sambaPwdLastSetValue = '0' |
2204 |
|
2201 |
if pwd_change_next_login == 1: # ! self.modifypassword or no pwhistoryPolicy['expiryInterval'] |
2205 |
if pwd_change_next_login == 1: # ! self.modifypassword or no pwhistoryPolicy['expiryInterval'] |
2202 |
if 'posix' in self.options or 'mail' in self.options: |
2206 |
if 'posix' in self.options or 'mail' in self.options: |
2203 |
pwhistoryPolicy = self.loadPolicyObject('policies/pwhistory') |
2207 |
pwhistoryPolicy = self.loadPolicyObject('policies/pwhistory') |