[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
parent does not exist
Hi there, what I am trying to do is add a user "vapuser" to the context "
dc=info,dc=in,dc=test,dc=de".
I defined a vapuser in a vapuser.ldif file:
**********************************
dn: cn=vapuser,dc=info,dc=in,dc=test,dc=de
cn: vapuser
sn: vapuser
objectclass: top
objectclass: person
userPassword: vapuser
**********************************
Where my slapd.conf file is:
**********************************
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/redhat/rfc822-MailMember.schema
include /etc/openldap/schema/redhat/autofs.schema
include /etc/openldap/schema/redhat/kerberosobject.schema
database ldbm
suffix "dc=info,dc=in,dc=test,dc=de"
rootdn "cn=root,dc=info, dc=in, dc=test, dc=de"
rootpw secret2
directory /var/lib/ldap
index objectClass,uid,uidNumber,gidNumber,memberUid eq
index cn,mail,surname,givenname eq,subinitial
access to * by dn="cn=root,dc=info, dc=in, dc=test, dc=de" write
**********************************
**********************************
ldapadd -f ./users/vapuser.ldif -cxv -D
"cn=root,dc=info,dc=in,dc=test,dc=de" -w secret2
ldap_initialize( <DEFAULT> )
add cn:
vapuser
add sn:
vapuser
add objectclass:
top
person
add userPassword:
vapuser
adding new entry "cn=vapuser,dc=info,dc=in,dc=test,dc=de"
ldap_add: No such object
additional info: parent does not exist
ldif_record() = 32
**********************************
Do you have any idea, what could have gone wrong?
I would appreciate any help very much.
Sincerely
Charly