[Date Prev][Date Next] [Chronological] [Thread] [Top]

[software enchancements] add PAM authentication (ITS#1086)

Full_Name: Gerald Hochegger
Version: 2.0.7
OS: linux-2.2.18
URL: ftp://ftp.uni-klu.ac.at/pub/local/RPM/SOURCES/openldap-2.0.6-passwd.pam.patch
Submission from: (NULL) (

This patch adds PAM authentication to libraries/liblutil/passwd.c

To compile it you have to add -DHAVE_PAM to CFLAGS before configure and make
(have a look at the SPEC file - I do not know how to adapt configure.in)

To use it you have to enter {pam}username in the userPassword attribute for
every user you wish to authenticate with PAM.
Create a file /etc/pam.d/slapd and enter an auth line - for example:
auth    required        /lib/security/pam_smb_auth.so nolocal

The example above authenticates against a SAMBA or NT Primary Domain Controller
using pam_smb (http://www.csn.ul.ie/~airlied/pam_smb). Windows users have to
change their password in the PDC only and their LDAP password is also changed.

You can find SPECS, SOURCES, SRPMS under ftp://ftp.uni-klu.ac.at/pub/local/RPM


    Gerald Hochegger