problems to define password policy to subtree ni dt
hi....
i dont know how i can't make work password policy for an subentry in dt.
these are my dt test:
[prueba.uy]
|- cn=depto
|- cn=users
|- user1
|- user2
and define a pwd policy under cn=depto,cn=prueba,cn=uy where the mini lenght to passwords is 8, and check sintaxis (for manager when hi set pwd too).
i try to set the pwd policy to users subtree by two ways:
1) in gui ds i setting the pwd policy for these subtree
2) using cos mechanins (using pointer definition) i add the following cos:
template cos:
dn: cn=pwdPolTemplateCos,cn=users,cn=depto,dc=prueba,dc=uy
objectclass: top
objectclass: LDAPsubentry
objectclass: extensibleobject
objectclass: cosTemplate
cosPriority: 1
passwordPolicySubentry: cn=pwdPolicy,cn=depto,dc=prueba,dc=uy
definition cos:
dn: cn=pwdPolDefinitionCos,cn=users,cn=depto,dc=prueba,dc=uy
objectclass: top
objectclass: LDAPsubentry
objectclass: cosSuperDefinition
objectclass: cosPointerDefinition
cosTemplateDn: cn=pwdPolDefinitionCos,cn=users,cn=depto,dc=prueba=uy
cosAttribute: passwordPolicySubentry override
but... i can set pwd's for my users with length 2..
i try restart server thinking for problem is cache with not results, testing with ldapsearch for pwd attributes by nothing....
and i could't find where i wrong... :(
any suggests?
Thanks!!!!

