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

Re: getting LDAP: error code 64

On 25 May, Peter Choe wrote:
> i am trying to write a java program to add entries into slapd but i am
> getting an error:
> CN=mewilcox,OU=admin,o=baruch: [LDAP: error code 64 - Failed, parent
> entry (OU=admin/o=baruch) does not exist]
> what is the parent entry?  i am pretty sure that i have the dn correct.

Each level of a tree needs to exist before you can add children to it.
If your basedn is o=baruch, you need to add ou=admin,o=baruch before
you can add cn=mewilcox,ou=admin,o=baruch.

Doug Nazar
Dragon Computer Consultants Inc.
Tel: (416) 708-1578     Fax: (416) 708-8081