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

Adding a new leaf.

My current tree looks like:
suffix in slapd.conf: o=worldgate

----data as LDIF------
dn: ou=dummy,o=worldgate
ou: dummy
objectclass: top
objectclass: organizationalUnit

dn: cn=user,ou=dummy,o=worldgate
cn: user
sn: user
objectclass: top
objectclass: inetOrgPerson

Now I wish to add another node to the tree below the root.
the ldif for this is:
dn: ou=control,o=worldgate
ou: control
objectclass: top
objectclass: organizationalUnit

This fails with the error: 

ldap_add: no such object.
ldap_record: 32

I'm binding with the rootdn for LDAP 2.0.8.
Does the basedn for OpenLDAP 2.0.x also have to be in the database?
I thought that putting the suffix in slapd.conf was sufficient.
Devdas Bhagat
Canada Bill Jones's Motto:
	It's morally wrong to allow suckers to keep their money.

Canada Bill Jones's Supplement:
	A Smith and Wesson beats four aces.