[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ppolicy



Hi,

"Allgood, John" <jallgood@ohl.com> writes:

> Hey Guys
>
> I have another question in regards to using ppolicy. I have built my policy
> into ldap. How do I apply that policy to my existing user objects.

You either create a default rule set in slapd.conf or add a policy
subentry to a user entry. Something like

dn: cn=some user,ou=users
cn: some user
objectclass: inetorgPerson
objectclass: pwdPolicy
pwdAttribute: 2.5.4.35
pwdPolicySubentry: cn=users,ou=policies
...

dn: cn=users,ou=policies
cn: users
objectClass: organizationalRole
objectClass: pwdPolicy
pwdAllowUserChange: TRUE
pwdAttribute: 2.5.4.35
pwdCheckQuality: 1
pwdExpireWarning: 86400
pwdGraceAuthNLimit: 2
pwdInHistory: 6
pwdLockout: TRUE
pwdLockoutDuration: 1800
pwdMaxAge: 250000
pwdMaxFailure: 3

-Dieter

-- 
Dieter KlÃnter | Systemberatung
http://www.dpunkt.de/buecher/2104.html
sip: +49.180.1555.7770535
GPG Key ID:8EF7B6C6
53Â08'09,95"N
10Â08'02,42"E