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

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
        
        
            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?

Thanks in advance,
Sanjeev.
                               
-- 
"We believe in neat stuff, and Open Source is neat"



-- 
"We believe in neat stuff, and Open Source is neat"