Pam ldap

From CBLFS
Revision as of 12:36, 2 March 2009 by Jciccone (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

Multilib

32Bit

CC="gcc ${BUILD32}" USE_ARCH=32 \
./configure --prefix=/usr --libdir=/lib \
    --sysconfdir=/etc --mandir=/usr/share/man &&
make

Install the package:

make install

N32

CC="gcc ${BUILDN32}" USE_ARCH=n32 \
./configure --prefix=/usr --libdir=/lib32 \
    --sysconfdir=/etc --mandir=/usr/share/man &&
make

Install the package:

make install

64Bit

CC="gcc ${BUILD64}" USE_ARCH=64 \
./configure --prefix=/usr --libdir=/lib64 \
    --sysconfdir=/etc --mandir=/usr/share/man &&
make

Install the package:

make install

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
Retrieved from "?title=Pam_ldap&oldid=16943"