From: Howard Chu Date: Thu, 18 Aug 2005 07:05:56 +0000 (+0000) Subject: ITS#3946 reset lockout status at beginning of all Binds X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~670 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=315c4a3b7213dcbef86abe2518d0f6b0db5aec76;p=openldap ITS#3946 reset lockout status at beginning of all Binds --- diff --git a/servers/slapd/overlays/ppolicy.c b/servers/slapd/overlays/ppolicy.c index 503a9c63fa..6d0757c2df 100644 --- a/servers/slapd/overlays/ppolicy.c +++ b/servers/slapd/overlays/ppolicy.c @@ -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;