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

Antwort: Re: Problem with ldapadd - parent does not exist

Hi Chris!

Thank you very much for your support!
You are so right. That was the problem.

I'm a real newby to openldap an I ran from one
problem to the next.

I hope this is normaly so. If not it's clear, I'm a idiot ;o)))

Kind regards an have a nice day,



Hi Markus,

Think of a real tree: you can only add a leaf to a tree if you have all
parts - from root over all branches to the leaf.

That means (for example):

add the root: (your suffix)

dn: c=de
objectclass: country
c: de

add branch(es)
dn: o=mycompany,c=de
objectclass: organization
o: mycompany

dn: ou=suborg,o=myorganization,c=de
objectclass: organizationalunit
ou: suborg

...other ou'...

add leaf
dn: cn=myname,ou=(...),c=de
obejctclass: organizationperson
cn: DasBinIch

this is also described in the admin-guide (quick start guide).

Kind regards,


Christian Pohl
Secaron AG
Tel.: +49 811 9594-115
Fax.: +49 811 9594-33115
Mobil: +49 173 3982368

Einladung zum Security Day im municon, Flughafen München, am 19.07.2002
Motto: Wir alle werden täglich von Hackern besucht!!! Was bringt eine BSI
Weitere Informationen und die Agenda finden Sie im Internet:

Melden auch Sie sich an! Wir freuen uns auf Sie!

Sent by: owner-openldap-software@OpenLDAP.org
08.07.2002 13:11

        To:     <openldap-software@OpenLDAP.org>
        Subject:        Problem with ldapadd - parent does not exist


I've tried to add entries to the OpenLDAP-Server but I only get the
error-message behind.

pingu:/etc/init.d# ldapadd -x -D "cn=admin,dc=pingu,dc=de" -W -f
Enter LDAP Password:
adding new entry "cn=Markus Jung,dc=pingu,dc=de"
ldap_add: No such object
        additional info: parent does not exist

What means this to me???
What do I have to do to make my ldapadd work??

Tank you,