I have an LDAP server setup and I'm attempting to get a client to
authenticate to it. If the user has a clear password he can login, but
if I encrypt the password with MD5 it doesn't work any longer.

I've tried complex detailed setup from docs online, but I wasn't any
more successful than the simple setup that I reverted to so there are
less things to explain.  I've run authconfig and setup the LDAP settings
and selected to use MD5 and shadow passwords.

I checked in /etc/ldap.conf it says at the end of the file: 
pam_password md5

I set the encrypted password with the GQ LDAP browser as a md5 password.
When I try to login in /var/log/messages I get an invalid credential
error. 

I saw on this site http://www.mandrakesecure.net/en/docs/ldap-auth.php

" The pam_password must be set to md5 (it uses the crypt(3) system,
which will use the unix MD5 hash instead of the built-in MD5 which is
incompatible)."

Does that mean that GQ makes incompatible hashes for authentication? Or
does it say that with "pam_password" that authentication uses built-in
MD5?  I can't tell which direction that statement is going. 

Even if the system is configured to use  MD5 passwords, and my password
is an incompatible hash, How come plain text passwords work?  I think I
missed a configuration and the system is not trying to use MD5
passwords. I just need pointed in the right direction.


-- 
Jeff Bearer, RHCE
Webmaster, PittsburghLIVE.com
2002 EPpy Award Winner, Best Newspaper Website



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to