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.
Ciao, Michael.