RHEL4 - PAM-LDAP Configuration.

Nick Owen nowen at wikidsystems.com
Thu Apr 12 20:29:20 UTC 2007


Nilesh Patel wrote:
> Hello !!!,
> 
> Can any one please give me configuration steps of PAM for Linux (RHEL4)
> user authentication through LDAP (Light weight directory access protocol).
> 
> Thanks in advance,
> 
> Nilesh.

Nilesh:

Here is a copy of an /etc/pam.d/sshd file that I used for testing
one-time passcodes through to our two-factor server.  IIRC, it worked,
buy YMMV.

#%PAM-1.0
auth     required   /lib/security/pam_securetty.so
auth     required   /lib/security/pam_nologin.so
auth     sufficient /lib/security/pam_ldap.so
auth     required   /lib/security/pam_unix_auth.so use_first_pass
account  sufficient /lib/security/pam_ldap.so
account  required   /lib/security/pam_unix_acct.so
password required   /lib/security/pam_cracklib.so
password sufficient /lib/security/pam_ldap.so
password required   /lib/security/pam_unix_passwd.so use_first_pass md5
shadow
session  required   /lib/security/pam_unix_session.so

In addition to google, you will find info at the pdal website:
http://www.padl.com

HTH,

nick


Nick Owen
WiKID Systems, Inc.
404.962.8983
http://www.wikidsystems.com
Commercial/Open Source Two-Factor Authentication
https://www.linkedin.com/in/nickowen




More information about the Pam-list mailing list