Michael,
T be sure about what error I got when I was using pwd policy, I was checking ldap.log file and I saw that when I define in slapd.conf file the statement overlay ppolicy my ldap does not starts. Then I was checking in google and I find out that my rpm version maybe does not have the option to support overlays when it was built.
Do you have any idea in how to include overlay module into an already built rpm ?
I am talking about this version http://staff.telkomsa.net/packages/rhel4/openldap/
Gustavo
2008/4/28 Gustavo Mendes de Carvalho gmcarvalho@gmail.com:
2008/4/28 Michael Ströder michael@stroeder.com:
Gustavo Mendes de Carvalho wrote:
According with man 5 slapo-policy and OpenLDAP site docs, in attribute pwdAttribute I have to input value userPassword, but this attribute does not support strings (according with my tries), so I inserted correspondent userPassword OID (1.3.6.1.4.1.1466.115.121.1.40)
1.3.6.1.4.1.1466.115.121.1.40 is not the correct OID here. It identifies the LDAP syntax 'Octet String' which is used for attribute type 'userPassword'.
The correct OID for attribute type 'userPassword' to be put in 'pwdAttribute' is 2.5.4.35.
Yes, you are right, but my main question is what value do I have to setup in pwdAttribute when configuring some user, if I choose to use Password policy ?
Gustavo
Ciao, Michael.
--
Gustavo Mendes de Carvalho e-mail: gmcarvalho@gmail.com