From b6aa697000817131dd07689c65516e2dd7bc2c02 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 15 Jun 2005 21:21:12 +0000 Subject: [PATCH] ITS#3779 fix pwdLockoutDuration handling --- 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 af1dd5a153..f5bc8ce0b9 100644 --- a/servers/slapd/overlays/ppolicy.c +++ b/servers/slapd/overlays/ppolicy.c @@ -228,6 +228,9 @@ account_locked( Operation *op, Entry *e, struct berval bv; Modifications *m; + if (!pp->pwdLockoutDuration) + return 1; + if ((then = parse_time( vals[0].bv_val )) == (time_t)0) return 1; -- 2.39.5