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

RE: passwords in ldap



>  -----Original Message-----
>  From: owner-openldap-software@OpenLDAP.org
>  [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of 
>  Marcin Radecki
>  Sent: Wednesday, July 04, 2001 1:47 PM

[snipped]

>  ldapsearch -b "dc=com,dc=pl" -x -w password -D 
>  "uid=myuser,dc=com,dc=pl"
>  
>  responds with: ldap_bind: Invalid credentials

In this case "password" in taken as the password of the user
myuser. What you probably want is:
$ ldapsearch -b "dc=com,dc=pl" -x -W -D "uid=myuser,dc=com,dc=pl"
Enter LDAP Password:

Note that the -X requires SASL Support compiled into LDAP!
And don't forget to include -h IP.Add.Ree.ss in your command line!

Cheers,
Guus