
openldap ldap_add: no such object(32)
Hi, i wonder if anyone can give me any pointers on this please. I am
trying to setup a simple address book directory using OpenLDAP 2.1.17,
with inetOrgPerson entries.
When i run:
ldapadd -x -D "cn=root,dc=domain,dc=co,dc=uk" -W -f
/usr/local/openldap/entries.ldif and enter the correct password i get
the following -
adding new entry "dc=uk"
ldapadd: update failed: dc=uk
ldap_add: no such object (32)
Here are my configuration/ldif files -
#entries.ldif
dn: dc=uk
objectclass: dcObject
dc: uk
dn: dc=co,dc=uk
objectclass: dcObject
dc: co
dn: dc=domain,dc=co,dc=uk
objectclass: dcObject
dc: domain
dn: mail=anaddr...@domain.co.uk,dc=domain,dc=co,dc=uk
objectclass: inetOrgPerson
cn: The
sn: Boss
mail: anaddr...@domain.co.uk
#slapd.conf
include /usr/local/openldap/schema/core.schema
include /usr/local/openldap/schema/cosine.schema
include /usr/local/openldap/schema/inetorgperson.schema
database bdb
suffx "cn=root,dc=domain,dc=co,dc=uk"
rootpw secret
directory /usr/local/openldap/directory-data
schema files are standard with latest stable release of openldap
(2.1.17)
Cheers.