mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#3946 reset lockout status at beginning of all Binds
This commit is contained in:
parent
2ff5c27f63
commit
315c4a3b72
@ -944,6 +944,9 @@ ppolicy_bind( Operation *op, SlapReply *rs )
|
|||||||
{
|
{
|
||||||
slap_overinst *on = (slap_overinst *)op->o_bd->bd_info;
|
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 */
|
/* Root bypasses policy */
|
||||||
if ( !be_isroot_dn( op->o_bd, &op->o_req_ndn )) {
|
if ( !be_isroot_dn( op->o_bd, &op->o_req_ndn )) {
|
||||||
Entry *e;
|
Entry *e;
|
||||||
|
Loading…
Reference in New Issue
Block a user