From: Howard Chu Date: Tue, 30 Jun 2009 11:04:16 +0000 (+0000) Subject: ITS#6168 actually use pwdLockout setting X-Git-Tag: ACLCHECK_0~473 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1f07d843f111e10fd69fec81cb506a0d8f70c756;p=openldap ITS#6168 actually use pwdLockout setting --- diff --git a/servers/slapd/overlays/ppolicy.c b/servers/slapd/overlays/ppolicy.c index 639fc5beeb..62324ca2f9 100644 --- a/servers/slapd/overlays/ppolicy.c +++ b/servers/slapd/overlays/ppolicy.c @@ -324,6 +324,9 @@ account_locked( Operation *op, Entry *e, assert(mod != NULL); + if ( !pp->pwdLockout ) + return 0; + if ( (la = attr_find( e->e_attrs, ad_pwdAccountLockedTime )) != NULL ) { BerVarray vals = la->a_nvals;