mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
ITS#8327 fix ppolicy_get_default
pwdMaxRecordedFailure must never be zero
This commit is contained in:
parent
9c1b3b247d
commit
3a305253a0
@ -477,6 +477,8 @@ ppolicy_get_default( PassPolicy *pp )
|
||||
|
||||
/* Users can change their own password by default */
|
||||
pp->pwdAllowUserChange = 1;
|
||||
if ( !pp->pwdMaxRecordedFailure )
|
||||
pp->pwdMaxRecordedFailure = PPOLICY_DEFAULT_MAXRECORDED_FAILURE;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user