Straight from the Gentoo + LDAP page.
# pam ldap stuff
auth sufficient pam_ldap.so use_first_pass
account sufficient pam_ldap.so
password sufficient pam_ldap.so use_authtok use_first_pass
session optional pam_ldap.so
-james
On 3/11/2010, at 4:25pm, James wrote:...I'm attempting to set up LDAP authentication against my OpenDS server on a Gentoo box. I've been struggling with this for several days now with no progress....
Here's the rundown of how things are configured (fairly straight forward):==> auth.log <==
Nov 3 06:26:03 s_dgram@client.whatever.com sshd[2650]: error: PAM: Authentication failure for tb from blah.whatever.com
You've shown us all about your LDAP configuration, but nothing about your PAM configuration, or whether sshd or IMAP are configured to use PAM.Stroller.