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

ITS#5285

parent 6eb3b1f6
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,7 @@ OpenLDAP 2.4.8 Engineering
Fixed slapd-ldif delete (ITS#5265)
Added slapo-autogroup contrib module (ITS#5145)
Added slapo-constraint cross-attribute constraints (ITS#4987)
Fixed slapo-ppolicy password checking when no policy required it (ITS#5285)
Added slapo-translucent local searching (ITS#5283)
Fixed test047 to skip if rwm is not available (ITS#5292)
Build Environment
......
......@@ -1771,7 +1771,8 @@ ppolicy_modify( Operation *op, SlapReply *rs )
}
}
if (pa) {
/* If pwdInHistory is zero, passwords may be reused */
if (pa && pp.pwdInHistory > 0) {
/*
* Last check - the password history.
*/
......@@ -1787,8 +1788,6 @@ ppolicy_modify( Operation *op, SlapReply *rs )
goto return_results;
}
if (pp.pwdInHistory < 1) goto do_modify;
/*
* Iterate through the password history, and fail on any
* password matches.
......
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