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

Re: Problems importing ppolicy LDIF: LDAP_INVALID_SYNTAX



Am Thu, 13 Jan 2011 11:42:29 +0600
schrieb Konstantin Boyandin <temmokan@gmail.com>:

> Hello,
> 
> OpenLDAP version: 2.3.43-12 (CentOS 5.5), 64-bit.
> 
> In order to enable ppolicy overlay, I am trying to create the relevant
> entries, as specified in
> 
> http://www.openldap.org/doc/admin24/overlays.html#Password%20Policies
> 
> I import two LDIFs, first:
> 
> dn: ou=Policies,dc=example,dc=com
> objectClass: organizationalUnit
> objectClass: top
> ou: Policies
> 
> and second
> 
> dn: cn=default,ou=Policies,dc=example,dc=com
> cn: default
> objectClass: top
> objectClass: pwdPolicy
> objectClass: person
> pwdAllowUserChange: TRUE
> pwdAttribute: userPassword

the OID of userPassword is required
pwdAttribute: 2.5.4.35

-Dieter

-- 
Dieter Klünter | Systemberatung
http://dkluenter.de
GPG Key ID:DA147B05
53°37'09,95"N
10°08'02,42"E