[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
ldap_add no such object
hi,
I'm new at openldap and probably you can't read such simple question any
more
but ..
still I have this problem (went through adminguide and faq ... several
times)
i have just created a database
the slapd.conf looks like this:
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
pidfile /usr/local/var/slapd.pid
argsfile /usr/local/var/slapd.args
database ldbm
suffix "dc=ldx,dc=com"
rootdn "cn=Manager,dc=ldx,dc=com"
rootpw secret
directory /usr/local/var/openldap-ldbm1
index objectClass eq
and then I tried to add the initial entries with the following ldif
dn: dc=ldx, dc=com
dc: ldx
o: ldxo
objectclass: organization
objectclass: dcObject
description: testldx
dn: cn=Manager, dc=ldx, dc=com
cn: Manager
objectclass: organizationalRole
description: testmanager
now the command and the error
/usr/local/bin/ldapadd -f /home/hilke/1711.ldif -x -D
"cn=Manager,dc=ldx,dc=com" -w secret
"dding new entry "dc=ldx, dc=com
ldap_add: No such object
thanks a lot
Helke