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

RE: Can't add initial directory entries with 2.0.11 (ldap_add: No suc h object).



> Hello!
> 
> I'm using RedHat Linux 7.1 and OpenLDAP 2.0.11, and I'm having trouble
> creating initial entries in my directory.  I built OpenLDAP from
> source, and it passed all the tests.  Here's what happens:
> 
> --->8---
> bash-2.04$ ldapadd -x -D "cn=Manager,dc=ework,dc=com" -W -f ework.ldif
> Enter LDAP Password:
> "dding new entry "dc=ework,dc=com
> ldap_add: No such object
> 
> ldif_record() = 32
> --->8---

Okay, I figured it out!

The WHOLE problem was that I was not running ldapadd as root!
Once I changed root it worked great.  And now everything is
dandy.  Is this something that's unique to RH 7.1?  Did I 
miss this crucial piece of info in the Quick Start guide?

One nagging question: why can only root perform this initial
directory setup proceedure?

Will I be able to add other entries?  (Guess I'll find out.)

Anyway, problem solved.

Zach