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

Re: Unexpected "Naming Violation"

is cid an attribute in your oc platCustomer?


Joshua Ginsberg wrote:

Hello -

Using a custom schema, I'm attempting the following add to my directory-

dn: cid=17500,ou=Platypus,o=Brainstorm,c=US
uid: joshg
gecos: Joshua Ginsberg
cn: Joshua Ginsberg
sn: Ginsberg
userPassword: *snip*
loginShell: /bin/bash
uidNumber: 17500
cid: 17500
gidNumber: 1000
homeDirectory: /home/joshg
active: TRUE
objectClass: platCustomer

I get the following error-
adding new entry "cid=17500,ou=Platypus,o=Brainstorm,c=US"
ldapadd: update failed: cid=17500,ou=Platypus,o=Brainstorm,c=US
ldap_add: Naming violation (64)
additional info: value of naming attribute 'cid' is not present
in entry

But it seems like the cid of the proper value *does* exist in the entry.
Whassup wid'dat?