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

Re: ldapadd : Object class violation : attribute mail not allowed



tor, 2002-10-31 kl. 14:43 skrev Diane Wong:

> Then I included objectclass: inetOrgPerson in my newentry file hoping that 
> it would include the mail attribute, but I got another error:
> ldap_add: Invalid syntax
>       additional info: objectclass: value#2 invalid per syntax
> ldif_record()=21

> Is there something else I can try? Please help and indicate what I can do to 
> solve this problem.

What does your slapd.conf have as includes? Do you include
inetorgperson.schema?

What does your ldif look like for this entry?

Have you been to www.biot.com and been catapulted to sourceforge to get
GQ - and compiled GQ 0.6.0 (or 0.7.0 if it's now available)?

For the record, attribute 'mail' and Openldap any version is no problem,
so you have to narrow down what you're doing that Openldap doesn't like.

Best,

Tony

-- 

Tony Earnshaw

Could have been Henrik Ibsen's, Ole Bull's,
Henrik Wergelands's, Camilla Collet's and more's
last words, but weren't: «Fanden helder, helder
det at have sadset, end det at ikke have sadset
i det hele taget.»

e-post:		tonni@billy.demon.nl
www:		http://www.billy.demon.nl