Thanks Patrick. It helped me to very much extend but again getting stuck in pushing password policy on openldap. I got stuck in 2.4.23 and upgraded to 2.4.39. But still it is an issue.
test 1: Changing the password of user without meeting pwdMinLength attribute. But test got failed.
ldappasswd -x -W -D "cn=Manager,dc=example,dc=com" -H ldaps://xxx-xxx-xxx.example.com -s new -a Welcome123
"uid=tuser,ou=Users,dc=example,dc=com"
Enter LDAP Password:
[root@xxx-xxx-xxx openldap]#
Ploicy is as follow:
# Policies, j.cinglevue.com
dn:
ou=Policies,dc=j,dc=cinglevue,dc=com
ou: Policies
description: Directory policies.
objectClass: organizationalUnit
# Standard, Policies, j.cinglevue.com
dn: cn=Standard,ou=Policies,dc=j,dc=cinglevue,dc=com
objectClass: top
objectClass: device
objectClass: pwdPolicy
cn: Standard
pwdAttribute: userPassword
pwdMaxAge: 2592000
pwdCheckQuality: 1
pwdMinLength: 8
pwdExpireWarning: 432000
pwdGraceAuthNLimit: 3
pwdLockout: TRUE
pwdLockoutDuration: 1800
pwdMaxFailure: 3
pwdFailureCountInterval: 0
pwdMustChange: TRUE
pwdAllowUserChange: TRUE
pwdSafeModify: TRUE
Not able to found ppolicy.la in my system but copied the same from previous version. Hope that id not effecting.
Regards
sam
On Friday, 7 March 2014 12:48 AM, Patrick Laimbock <patrick@laimbock.com> wrote: