Skip to content
Snippets Groups Projects
Commit e8e0f677 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#6168 actually use pwdLockout setting

parent 64c904e6
No related branches found
No related tags found
No related merge requests found
...@@ -44,6 +44,7 @@ OpenLDAP 2.4.17 Engineering ...@@ -44,6 +44,7 @@ OpenLDAP 2.4.17 Engineering
Fixed slapo-collect missing equality match rule (ITS#6075) Fixed slapo-collect missing equality match rule (ITS#6075)
Fixed slapo-dds entry expiration (ITS#6169) Fixed slapo-dds entry expiration (ITS#6169)
Fixed slapo-perl symbols (ITS#5658) Fixed slapo-perl symbols (ITS#5658)
Fixed slapo-ppolicy to honor pwdLockout (ITS#6168)
Fixed slapo-refint refint_repair handling (ITS#6056) Fixed slapo-refint refint_repair handling (ITS#6056)
Added slapo-rwm rwm-drop-unrequested-attrs config option (ITS#6057) Added slapo-rwm rwm-drop-unrequested-attrs config option (ITS#6057)
Fixed slapo-rwm dn passing (ITS#6070) Fixed slapo-rwm dn passing (ITS#6070)
......
...@@ -324,6 +324,9 @@ account_locked( Operation *op, Entry *e, ...@@ -324,6 +324,9 @@ account_locked( Operation *op, Entry *e,
assert(mod != NULL); assert(mod != NULL);
if ( !pp->pwdLockout )
return 0;
if ( (la = attr_find( e->e_attrs, ad_pwdAccountLockedTime )) != NULL ) { if ( (la = attr_find( e->e_attrs, ad_pwdAccountLockedTime )) != NULL ) {
BerVarray vals = la->a_nvals; BerVarray vals = la->a_nvals;
......
...@@ -33,6 +33,7 @@ pwdMustChange: TRUE ...@@ -33,6 +33,7 @@ pwdMustChange: TRUE
pwdMaxFailure: 3 pwdMaxFailure: 3
pwdFailureCountInterval: 120 pwdFailureCountInterval: 120
pwdSafeModify: TRUE pwdSafeModify: TRUE
pwdLockout: TRUE
dn: uid=nd, ou=People, dc=example, dc=com dn: uid=nd, ou=People, dc=example, dc=com
objectClass: top objectClass: top
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment