mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-28 01:29:18 -05:00
ITS#3946 reset lockout status at beginning of all Binds
This commit is contained in:
parent
2ff5c27f63
commit
315c4a3b72
1 changed files with 3 additions and 0 deletions
|
|
@ -944,6 +944,9 @@ ppolicy_bind( Operation *op, SlapReply *rs )
|
|||
{
|
||||
slap_overinst *on = (slap_overinst *)op->o_bd->bd_info;
|
||||
|
||||
/* Reset lockout status on all Bind requests */
|
||||
pwcons[op->o_conn->c_conn_idx].restricted = 0;
|
||||
|
||||
/* Root bypasses policy */
|
||||
if ( !be_isroot_dn( op->o_bd, &op->o_req_ndn )) {
|
||||
Entry *e;
|
||||
|
|
|
|||
Loading…
Reference in a new issue