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

Re: ldapadd error

--On Tuesday, April 11, 2006 5:37 PM -0500 Adam Williams <awilliam@mdah.state.ms.us> wrote:

Quanah Gibson-Mount wrote:

That is an anonymous search.  I bet that anonymous doesn't have read
access, thus you get no such object returned.

I advise you do a simple bind as a part of your search, just like you
are doing with your add.

I'm very new to openldap, so I'm not quite sure what you mean by a simple bind. If you mean by adding a cn=adam to the search, I get the same result:

ldapsearch -x -b "cn=adam,dc=mdah,dc=state,dc=ms,dc=us"

Nope... The -D <bind dn> and -W flags say:

Bind to the server using the DN specified with -D, and the password entered after -W

using -x with those options means to do a simple bind.


Quanah Gibson-Mount
Principal Software Developer
ITS/Shared Application Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html