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

Re: simple authentication

Em Tue, Jul 10, 2001 at 02:39:25PM -0400, Steve Szabo escreveu:
> ldapsearch -b "o=Nutbar Inc., c=CA" \
> -s sub -h silly.com \
> -P 3 -x \
> -w somepasswd \
> cn="*" \
> dn
> why is it that ldapsearch ignores my -w value for
> simple auth? i can enter a wrong passwd and it still
> lets me query the server

It's probably using anonymous bind, check the server logs.
You didn't specify an "username" (a bind DN), use -D for that.