Hi,
Ok I create ou first,
after that i try to insert
dn: cn=default,ou=policies,dc=myhosting,dc=example cn: default objectClass: pwdPolicy objectClass: device pwdAllowUserChange: TRUE pwdAttribute: userPassword pwdCheckQuality: 2 pwdExpireWarning: 600 pwdFailureCountInterval: 30 pwdGraceAuthNLimit: 5 pwdInHistory: 5 pwdLockout: TRUE pwdLockoutDuration: 0 pwdMaxAge: 0 pwdMaxFailure: 5 pwdMinAge: 0 pwdMinLength: 5 pwdMustChange: FALSE pwdSafeModify: FALSE sn: dummy value
it says
ldap_add: Invalid syntax (21) additional info: pwdAttribute: value #0 invalid per syntax
. and my slapdconf include ppolicy overlay
thanks in advance. selcuk
On Sun, Dec 18, 2011 at 12:42 AM, Chris Jacobs Chris.Jacobs@apollogrp.eduwrote:
It appears you need to create the policies OU first, before you can create the default CN under it.
- chris
*From*: openldap-technical-bounces@OpenLDAP.orgopenldap-technical-bounces@OpenLDAP.org
*To*: openldap-technical@openldap.org openldap-technical@openldap.org *Sent*: Sat Dec 17 15:01:25 2011 *Subject*: Password Policy
Hi,
we are using openldap on redhat EL6 with postfix and JAMM schema. I wantto activate password policy for ldap but
i cannot add default password schema ,
i try to apply step that tells on http://www.zytrax.com/books/ldap/ch6/ppolicy.html
but i cannot add dn: cn=default,ou=policies,dc=myhosting,dc=example class, it gives
ldap_bind: Invalid DN syntax (34) additional info: invalid DN error.
what is the problem ?
thanks in advance
[image: image.png]
-- Selçuk YAZAR http://www.selcukyazar.blogspot.com
This message is private and confidential. If you have received it in error, please notify the sender and remove it from your system.