Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
e8e0f677
Commit
e8e0f677
authored
Jul 01, 2009
by
Quanah Gibson-Mount
Browse files
ITS#6168 actually use pwdLockout setting
parent
64c904e6
Changes
3
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
e8e0f677
...
...
@@ -44,6 +44,7 @@ OpenLDAP 2.4.17 Engineering
Fixed slapo-collect missing equality match rule (ITS#6075)
Fixed slapo-dds entry expiration (ITS#6169)
Fixed slapo-perl symbols (ITS#5658)
Fixed slapo-ppolicy to honor pwdLockout (ITS#6168)
Fixed slapo-refint refint_repair handling (ITS#6056)
Added slapo-rwm rwm-drop-unrequested-attrs config option (ITS#6057)
Fixed slapo-rwm dn passing (ITS#6070)
...
...
servers/slapd/overlays/ppolicy.c
View file @
e8e0f677
...
...
@@ -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
;
...
...
tests/data/ppolicy.ldif
View file @
e8e0f677
...
...
@@ -33,6 +33,7 @@ pwdMustChange: TRUE
pwdMaxFailure: 3
pwdFailureCountInterval: 120
pwdSafeModify: TRUE
pwdLockout: TRUE
dn: uid=nd, ou=People, dc=example, dc=com
objectClass: top
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment