Difference between revisions of "Pam ldap"
From CBLFS
Jump to navigationJump to search(One intermediate revision by the same user not shown) | |||
Line 23: | Line 23: | ||
Install the package: | Install the package: | ||
− | make install | + | make install |
− | |||
== Multilib == | == Multilib == | ||
Line 30: | Line 29: | ||
=== 32Bit === | === 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 === | === 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 === | === 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 == | == 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 |
Latest revision as of 12:36, 2 March 2009
Download Source: | http://www.padl.com/download/pam_ldap-184.tar.gz |
---|
Contents
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