From 315c4a3b7213dcbef86abe2518d0f6b0db5aec76 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 18 Aug 2005 07:05:56 +0000 Subject: [PATCH] ITS#3946 reset lockout status at beginning of all Binds --- servers/slapd/overlays/ppolicy.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.5