[PLUG] LDAP Question again
Paul Heinlein
heinlein at madboa.com
Tue Apr 5 19:59:30 UTC 2005
On 4/5/05 12:55 PM, R Haack wrote:
> When I run this command:
> ldapsearch -x -b 'dc=nclack,dc=k12,dc=or,dc=us'
>
> I get a list back that looks like the following:
>
> # nclack.k12.or.us
> dn: dc=nclack,dc=k12,dc=or,dc=us
> [...]
>
> When I enter the same command below:
>
> ldapsearch -x -b 'dc=nclack,dc=k12,dc=or,dc=us' -W
>
> It to prompts me for the password and enter what I believe to be the
> password I get "ldap_bind: Invalid credentials (49)"
Unless it's buried in one of your ldap config files, you need to supply
ldapsearch its -D option, which specifies the DN you're using to bind to
the server. E.g,
ldapsearch -D 'cn=Manager,dc=nclack,dc=k12,dc=or,dc=us' ...
--
Paul Heinlein <> heinlein at madboa.com <> www.madboa.com
More information about the PLUG
mailing list