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

Re: ldapadd returning strange messages (undocumented?)



Blake Binkley wrote:
> 
> Gerrit Thomson wrote:
> 
> > stucture to get something like
> >
> > dn: cn=Janelle Overhaus, ou=department, ou=staff, o=Netopolis, c=US
> >
> > cheers,
> >    Gerrit Thomson.
> >
> 
> tried it, now getting even more cryptic error:
> adding new entry cn=Janelle Overhaus, ou=department, ou=staff, o=Netopolis,
> c=US
> ldap_add: No such object
> ldap_add matched: o=Netopolis, c=US
> 
> it didn't add her in either...
> (using ldbmcat to view id2entry.gdbm)

That probably means that
dn: ou=department, ou=staff, o=Netopolis, c=US
...doesn't exist.  Go create that DN and try your add again.
(And of course, you must create ou=staff before you can
create ou=department.)

Dan Morrill
Computer Scientist
GE Corporate R&D, K1 5C36
(518) 387 - 6761