[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
openldap: ldap_add: Naming violation (64)
- To: openldap-software@OpenLDAP.org
- Subject: openldap: ldap_add: Naming violation (64)
- From: Manilal K M <libregeek@gmail.com>
- Date: Tue, 22 Nov 2005 05:52:11 -0500
- Content-disposition: inline
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=sEJdcm96fdR2q9KmpBlY670J7gownYEXU5RB70n1Nfnqvssi8d0ZKyxl30eUD62T4aK7TiJ0Mu6h6NKL8MVTY8EyuJ4kZj8yz5zvd8N/yuDb39NI3cdANxA/2oWtUhNlSCM11lCOh3pe/yrVwvllFAE59IIHaTrjC1U96G+7zRQ=
Hello all,
I am new to openldap and am just getting starting with it. I have
edited the slapd.conf and created a ldif file according to the
documentation provided at openldap.org. But when I tried to execute
ldapadd, an error occured. This is the error message i got.:
[root@triveni ~]# ldapadd -x -D "cn=root,dc=ejyothi,dc=net" -W -f ejyothi.ldif
Enter LDAP Password:
adding new entry "dc=ejyothi,dc=net"
ldap_add: Naming violation (64)
additional info: naming attribute 'dc' is not present in entry
My configuration is as follows:
Distro: Fedora Core 4
openldap-servers-2.2.23-5
openldap-clients-2.2.23-5
openldap-devel-2.2.23-5
openldap-2.2.23-5
/etc/openldap/slapd.conf:
database bdb
suffix "dc=ejyothi,dc=net"
rootdn "cn=root,dc=ejyothi,dc=net"
rootpw xxxxxx
The ldif file I tried is :
dn: dc=ejyothi,dc=net
objectclass: dcObject
objectclass: organization
o: Example Company
dc: ejyothi
dn: cn=root,dc=ejyothi,dc=net
objectclass: organizationalRole
cn: root
I can't get what had gonw wrong with it. please advice.
regards
libregeek