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

Re: Unexpected 'Naming Violation'



> Yes. cid is a required attribute of the objectClass platCustomer.

Could it be that your "cid" attribute does not have appropriate
matching rule, so that the dn/entry value comparisn cannot take place?

p.

>
> -jag
>
> On Sat, 2003-10-25 at 00:41, suomi hasler wrote:
>> is cid an attribute in your oc platCustomer?
>>
>> suomi
>>
>> 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?
>> >
>> >-jag
>> >
>> >
>> >
>>


-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it