From 1f07d843f111e10fd69fec81cb506a0d8f70c756 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 30 Jun 2009 11:04:16 +0000 Subject: [PATCH] ITS#6168 actually use pwdLockout setting --- 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 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; -- 2.39.5