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

Re: pb inserting row in LDAP directorie

Paul Kölle wrote:
> Hmm, try telling ldapadd about your base, either on the command line like:
> ldapadd -f /usr/local/.../test.ldif -D "<binddn>" -b
> "dc=my-domain,dc=com" -x -W
> or in /usr/local/etc/ldap.conf (if /usr/local is your --prefix) with:
> host	my-domain.com
> base  dc=my-domain,dc=com

Paul, please have a look into the man-pages before giving incorrect advice.

ldapadd does not have option -b. That's for ldapsearch. DNs of entries
are fully specified in the LDIF provided to ldapadd/ldapmodify.

Ciao, Michael.