[KLUG Members] making a linux machine auth against an ldap server.

Tyler Haske dvorak.typist at gmail.com
Thu Nov 10 12:07:56 EST 2005


ldap works. it was less in the config file than I thought,
after getting ethreal up and running, I just watched what the 
pam_ldap.so was sending over the network, and made it match what I got 
working with ldapsearch.

Doesn't log in though, had to add myself to the /etc/passwd so I got a 
shell. then it loged in. thats next with /etc/nsswitch.conf.


Adam Tauno Williams wrote:
>>Not working, I'll come back to it tommorrow.
>>Is there a way to tell what pam_ldap.so is doing?
> 
> 
> You can add the "debug" parameter to the module,  but the best thing to
> do is to run ethereal on the workstation and capture the exchange
> between the client and the server.
> 
> 
>>tried tail -f /var/log/auth, just some stuff about the last module not 
>>working. I have account, auth, password, and session filled with
>>sufficient pam_ldap.so as the first hit.
>>I have no idea if /etc/pam_ldap.conf is close to correct.
> 
> 
> Are you sure "/etc/pam_ldap.conf" is correct?  In most cases the PAM &
> NSS LDAP modules share /etc/ldap.conf.


More information about the Members mailing list