|
619 |
newpwdlastset = str(univention.s4connector.s4.samba2s4_time(sambaPwdLastSet)) |
619 |
newpwdlastset = str(univention.s4connector.s4.samba2s4_time(sambaPwdLastSet)) |
620 |
ud.debug(ud.LDAP, ud.INFO, "password_sync_ucs_to_s4: pwdlastset in modlist: %s" % newpwdlastset) |
620 |
ud.debug(ud.LDAP, ud.INFO, "password_sync_ucs_to_s4: pwdlastset in modlist: %s" % newpwdlastset) |
621 |
modlist.append((ldap.MOD_REPLACE, 'pwdlastset', newpwdlastset)) |
621 |
modlist.append((ldap.MOD_REPLACE, 'pwdlastset', newpwdlastset)) |
|
|
622 |
modlist.append((ldap.MOD_REPLACE, 'badPwdCount', '0')) |
623 |
modlist.append((ldap.MOD_REPLACE, 'badPasswordTime', '0')) |
624 |
modlist.append((ldap.MOD_REPLACE, 'lockoutTime', '0')) |
622 |
|
625 |
|
623 |
else: |
626 |
else: |
624 |
ud.debug(ud.LDAP, ud.INFO, "password_sync_ucs_to_s4: No password change to sync to S4 ") |
627 |
ud.debug(ud.LDAP, ud.INFO, "password_sync_ucs_to_s4: No password change to sync to S4 ") |