mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 10:39:34 -05:00
ITS#8327 fix ppolicy_get_default
pwdMaxRecordedFailure must never be zero
This commit is contained in:
parent
9c1b3b247d
commit
3a305253a0
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue