mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 02:29:34 -05:00
Make ppolicy_add consistent with ppolicy_modify - don't add pwdChangedTime
opattr on replicated entries.
This commit is contained in:
parent
34280359b5
commit
89b03a1c7e
1 changed files with 1 additions and 1 deletions
|
|
@ -1223,7 +1223,7 @@ ppolicy_add(
|
|||
}
|
||||
}
|
||||
/* If password aging is in effect, set the pwdChangedTime */
|
||||
if ( pp.pwdMaxAge || pp.pwdMinAge ) {
|
||||
if (( pp.pwdMaxAge || pp.pwdMinAge ) && !be_isupdate( op )) {
|
||||
struct berval timestamp;
|
||||
char timebuf[ LDAP_LUTIL_GENTIME_BUFSIZE ];
|
||||
struct tm *ltm;
|
||||
|
|
|
|||
Loading…
Reference in a new issue