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

PAM + SMB in OpenLDAP



Hi,
I just followed the HOWTO at
http://www.enic.fr/people/landru/lobster/openldap/openldap-authenticating-wi
th-pam.txt
and I'm now able to authenticate against SMB.

The problem I have, is that I can only bind to LDAP when setting -U
parameter to ldapsearch. I can't bind directly by using -D "cn=..."
Help please!

Must I set userPassword in LDAP to something special like:
userPassword: {SASL}testjec
or something else?

What are the valid values for userPassword?
Are the following ones OK?
userPassword: HiThere234
userPassword: {SHA}djreojShjHhd88dcjs
userPassword: {SHA1}dfdDggS87jreojShjHhd88
userPassword: {MD5}HkkfdjHJG779jsSA
?

Thanks
-jec

Below is the output of my runs.

[root@testbed openldap]# ldapsearch  -D
"cn=testjec,cn=Users,dc=linkvest,dc=com" -U testjec
SASL/PLAIN authentication started
Please enter your password:
< -- SNIP -- >
All is OK
< -- SNIP -- >
[root@testbed openldap]# ldapsearch  -D
"cn=testjec,cn=Users,dc=linkvest,dc=com"
SASL/PLAIN authentication started
Please enter your password:
ldap_sasl_interactive_bind_s: Invalid credentials
[root@testbed openldap]#


_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
Jean-Eric Cuendet
Linkvest SA
Av des Baumettes 19, 1020 Renens Switzerland
Tel +41 21 632 9043  Fax +41 21 632 9090
http://www.linkvest.com  E-mail: jean-eric.cuendet@linkvest.com
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _