[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Problems importing ppolicy LDIF: LDAP_INVALID_SYNTAX
- To: openldap-technical@openldap.org
- Subject: Problems importing ppolicy LDIF: LDAP_INVALID_SYNTAX
- From: Konstantin Boyandin <temmokan@gmail.com>
- Date: Thu, 13 Jan 2011 11:42:29 +0600
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=t8tneNAMGIG4coUsNURtfUBKOVszcXLRirL/CQQjVjc=; b=W9O1x/Xlvaka182T+g+0bg4lMfegG4XeKjp14TcsHH1ftNaYxGrH/P65MAWQB7VTOa CUV5BXrIDCW++89IMj8DZyDY5vzS5yw0h6mJRg7MXC1x3b6WIMA0e0biS4BRCuyApDm7 /S3EAbz9ywYEKCDhMimrDmWRFXAyd0N3EYkos=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=fPJdegMljMUZ2yJRrP4FUET4j5y5GHU0FRqiwbHs2vhJPLmxxJXgWc2sKOurqFgPU8 8HESTQjyYt5HkLX8EkynhdWqW41xpyW8thXl7JhsbLC4sqfU1N+zJplChZrQi73WwAiy SYFDZVqN0yQebHE6qQuy+b37ISj5MCOlcX+zw=
- User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Thunderbird/3.1.7
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
pwdCheckQuality: 2
pwdExpireWarning: 600
pwdFailureCountInterval: 30
pwdGraceAuthNLimit: 2
pwdInHistory: 5
pwdLockout: TRUE
pwdLockoutDuration: 0
pwdMaxAge: 7776000
pwdMaxFailure: 5
pwdMinAge: 0
pwdMinLength: 5
pwdMustChange: FALSE
pwdSafeModify: FALSE
sn: dummy value
The first loads OK.
When I try to import the second, I receive this diagnostics:
Could not add object cn=default,ou=Policies,dc=itelsib,dc=com
Message: Invalid syntax
Error code: 0x15 (LDAP_INVALID_SYNTAX)
Error description: An invalid attribute value was specified.
Could someone suggest what's wrong with the attribute name?
the ppolicy.schema is specified in /etc/slapd.conf.
Thanks.
Sincerely,
Konstantin