mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-09 16:34:45 -05:00
ITS#3779 fix pwdLockoutDuration handling
This commit is contained in:
parent
f9fb5e63f4
commit
b6aa697000
1 changed files with 3 additions and 0 deletions
|
|
@ -228,6 +228,9 @@ account_locked( Operation *op, Entry *e,
|
|||
struct berval bv;
|
||||
Modifications *m;
|
||||
|
||||
if (!pp->pwdLockoutDuration)
|
||||
return 1;
|
||||
|
||||
if ((then = parse_time( vals[0].bv_val )) == (time_t)0)
|
||||
return 1;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue