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

problems inserting records : ldap_add: No such object (32)



i can't seem to add any records.. after going through some list archives and cos, I tried adding the .com and tld dcObjects first - as that seemed to be the correct thing to do. that didn't work.

below are the relevant parts of the commandline, slapd.conf and ldiff files -- i think this looks correct, but its not working, so is must not be.

thanks.


commandline ------------------- ldapadd -x -W -D "cn=Manager,dc=redivi,dc=com" -f insert.ldiff Enter LDAP Password: adding new entry "dc=com" ldapadd: update failed: dc=com ldap_add: No such object (32)

slapd.conf:
--------------
	database        bdb
	suffix          "dc=redivi,dc=com"
	rootdn          "cn=Manager,dc=redivi,dc=com"

insert.ldif
-------
dn: dc=com
objectclass: dcObject
objectClass: organization
objectClass: top
dc: com

dn: dc=redivi, dc=com
objectclass: dcObject
objectClass: organization
objectClass: top
dc: redivi

dn: o=mobwire, dc=redivi,dc=com
objectclass: organization
objectClass: top
o: mobwire

dn: ou=People,o=mobwire,dc=redivi,dc=com
objectclass: organizationalUnit
objectClass: top
ou: People