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

Re: Error while creating entries in OpenLDAP



>    Hello,
>
>         I've recently installed  OpenLDAP 2.2.17 with  BerkeleyDB 4.2.52
> on Red Hat Enterprise Linux AS release 3 machine.
>
>         When I tried to populate the directory server with the LDIF
> files I have, I got following errors for few entries. Others worked fine.
>
>         Error #1)
>
>                 dn: cn=Canada, ou=Search, o=IMC, c=US
>                 aliasedobjectname: ou=Americas, ou=Search, o=IMC, c=US
>                 objectclass: top
>                 objectclass: alias
>                 objectclass: aliasObject
>
>                 Error Message Recieved:
>                         adding new entry "cn=Canada, ou=Search, o=IMC,
> c=US"
>                         ldap_add: Invalid syntax (21)
>                             additional info: objectclass: value #2
> invalid per syntax

grep -i aliasobject servers/slapd/schema/*.schema
returns nothing.

>
>
>             Error #2)
>
>                 dn: cn=Jonathan Adams (with description), ou=Europe,
> ou=Search, o=IMC, c=US
>                 cn: Jonathan Adams
>                 sn: Adams
>                 givenname: Jonathan
>                 objectclass: top
>                 objectclass: person
>                 objectclass: organizationalPerson
>                 objectclass: inetOrgPerson
>                 telephonenumber: +1 408 720 0000
>                 mail: Jonathan.Adams@dirconnect2.org
>                 userpassword: Jonathan0000
>                 title: President
>                 employeenumber: 2200000
>                 description: this entry has one
>
>                 Error Message Recieved :
>                         adding new entry "cn=Jonathan Adams (with
> description), ou=Europe, ou=Search, o=IMC, c=US
>                         ldap_add: Naming violation (64)
>                             additional info: value of naming attribute
> 'cn' is not present in entry
>
>                 Note : The same entry worked for the dn: cn=Jonathan
> Adams, ou=Europe, ou=Search, o=IMC, c=US (Note that the string within
> bracket is not present here)
>
>
>                 Can anyone help?

See http://www.openldap.org/faq/data/cache/1006.html

Hope it helps.

p.

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


    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497