Closed GoogleCodeExporter closed 9 years ago
Relevant part of a LDAP wire trace from catalina.out:
2013-05-07 10:53:15, TRACE, provider.WireTraceWrapper, finish op#11 result:
{cn=univ_pwd_test,cn=Password
Policies,cn=Security={nsimForgottenLoginConfig=[TRUE],
nspmNumericAsFirstCharacter=[TRUE], passwordMinimumLength=[8],
nspmMinNumericCharacters=[1], passwordUniqueRequired=[TRUE],
nspmSpecialCharactersAllowed=[FALSE], nspmNumericCharactersAllowed=[TRUE],
nspmConfigurationOptions=[1908], passwordExpirationInterval=[15724800],
nspmMaximumLength=[13], nsimChallengeSetGUID=[1365693660274],
nsimPwdRuleEnforcement=[FALSE],
nsimForgottenAction=[<ForgottenPassword><Enabled>false</Enabled><Sequence><Authe
ntication><![CDATA[]]></Authentication><Action>ShowHint</Action></Sequence></For
gottenPassword>], nspmNumericAsLastCharacter=[TRUE],
nspmDisallowedAttributeValues=[CN, Full Name, Surname],
nspmMinUpperCaseCharacters=[1], nspmCaseSensitive=[TRUE],
nspmMinLowerCaseCharacters=[1]}} (6ms)
......
2013-05-07 10:53:16, TRACE, provider.WireTraceWrapper, begin op#16
readStringAttributes(cn=testuser,ou=users,o=meta,[Full Name, Surname, CN])
Relevant part where PWM consumes the LDAPchai data
(util/operations/UserStatusHelper.java):
private static Set<String> figurePasswordRuleAttributes(
final UserInfoBean uiBean
)
{
final Set<String> interestingUserAttributes = new HashSet<String>();
interestingUserAttributes.addAll(uiBean.getPasswordPolicy().getRuleHelper().getDisallowedAttributes());
if (uiBean.getPasswordPolicy().getRuleHelper().readBooleanValue(PwmPasswordRule.ADComplexity)) {
interestingUserAttributes.add("sAMAccountName");
interestingUserAttributes.add("displayName");
interestingUserAttributes.add("fullname");
interestingUserAttributes.add("cn");
}
return interestingUserAttributes;
}
Original comment by sebastia...@gmail.com
on 7 May 2013 at 10:14
I've made a patch for LDAPchai (see attache). If I need to file this in the
LDAPchai project site, let me know.
Original comment by sebastia...@gmail.com
on 15 May 2013 at 3:39
Attachments:
Original comment by jrivard
on 23 May 2013 at 7:41
Added in revision 567. Thanks for the bug and patch!
Original comment by jrivard
on 30 May 2013 at 3:42
Original issue reported on code.google.com by
sebastia...@gmail.com
on 7 May 2013 at 10:05