Difference between revisions of "Pam ldap"

From CBLFS
Jump to navigationJump to search
(New page: {| style="text-align: left; background-color: AliceBlue;" |-valign="top" !Download Source: | http://www.padl.com/download/pam_ldap-184.tar.gz |} {{Package-Introduction|The pam_ldap module...)
 
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
|-valign="top"
 
|-valign="top"
 
!Download Source:
 
!Download Source:
| http://www.padl.com/download/pam_ldap-184.tar.gz
+
| http://www.padl.com/download/pam_ldap-{{pam_ldap-Version}}.tar.gz
 
|}
 
|}
  
Line 23: Line 23:
 
Install the package:
 
Install the package:
  
  make install &&
+
  make install
chmod -v 755 /lib/security/pam_krb5.so
 
  
 
== Multilib ==
 
== Multilib ==
Line 30: Line 29:
 
=== 32Bit ===
 
=== 32Bit ===
  
todo
+
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 ===
  
todo
+
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 ===
  
todo
+
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 13:36, 2 March 2009

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