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

error when setting an alias entry.. (ldap_add: Naming violation (64))



I'm following this:

http://www.openldap.org/faq/data/cache/1111.html

I'm getting this error:

ldap_add: Naming violation (64)
    additional info: value of naming attribute 'uid' is not present in entry

Here are the sample ldif entries:

dn: uid=luzer,ou=main,dc=acme,dc=com
uid: luzer
objectClass: top
objectClass: person
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: posixAccount
objectClass: shadowAccount
loginShell: /bin/bash
userPassword: {SSHA}8Sz/X2Fv1S1COqD46K5kEwFS2Lyj4h2I
shadowWarning: 7
uidNumber: 1000
shadowMax: 99999
gidNumber: 1000
sn: De Torre
homeDirectory: /home/luzer
mail: luzer
givenName: Bob
shadowLastChange: 14007
cn: luzer

dn: uid=luzer,ou=alternate,dc=acme,dc=com
objectclass: alias
objectclass: extensibleObject
uid: alias
aliasedobjectname: uid=luzer,ou=main,dc=acme,dc=com

--
<admiral>

Michael F. March