ITS#3946 reset lockout status at beginning of all Binds

This commit is contained in:
Howard Chu 2005-08-18 07:05:56 +00:00
parent 2ff5c27f63
commit 315c4a3b72

View File

@ -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;