Pam ldap

From CBLFS
Revision as of 18:53, 15 November 2008 by Jciccone (talk | contribs) (Configuring)
Jump to navigationJump to search
Download Source: http://www.padl.com/download/pam_ldap-184.tar.gz

Introduction to Pam ldap

The pam_ldap module provides the means for Solaris and Linux servers and workstations to authenticate against LDAP directories, and to change their passwords in the directory.

Project Homepage: http://www.padl.com/OSS/pam_ldap.html

Dependencies

Required

Non-Multilib

Compile the package:

./configure --prefix=/usr --libdir=/lib \
    --sysconfdir=/etc --mandir=/usr/share/man &&
make

Install the package:

make install &&
chmod -v 755 /lib/security/pam_krb5.so

Multilib

32Bit

todo

N32

todo

64Bit

todo

Configuring

pam_ldap and nss_ldap share the same configuration file, /etc/ldap.conf. See nss_ldap for creating the base, then add the PAM items with the following:

cat >> /etc/ldap.conf << "EOF"
pam_password            exop

pam_filter              objectClass=posixAccount
pam_login_attribute     uid
pam_member_attribute    memberUid
pam_check_host_attr     no
pam_min_uid             5000
EOF