[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: ldapsearch for accont object class
On Wednesday 20 February 2008 05:02:04 Hamidreza Hamedtoolloei wrote:
> Dear all,
> Below is the "partial" content of my openldap db.
> when I do:
> ldapsearch -D "cn=fratbrother,ou=People,dc=ibm,dc=com" -w password -x
> everything is fine. However, when I do
> ldapsearch -D "uid=sriram,ou=People,dc=ibm,dc=com" -w password -x
> I get the ldap_bind: Invalid credentials (49) error.
Which password are you providing? And, what are you trying to do here? Are you
just trying to search for different users, or are you trying to test whether
authenticating as these users works?
By your subject line, it may be that you are confused about the operation of
ldapsearch.
For example, does this work for you:
$ ldapsearch -D "cn=fratbrother,ou=People,dc=ibm,dc=com" -w password -x -b
ou=People,dc=ibm,dc=com "(uid=sriram)"
?