mkdir openldap
cd openldap
ftp ftp.openldap.org
anonymous
youremailaddress@yourcompany.com
bin
get pub/OpenLDAP/openldap-release/openldap-2.0.25.tgz ./openldap-2.0.25.tgz
gzip -d openldap-2.0.25.tgz
tar -xf openldap-2.0.25.tar
cd openldap-2.0.25
./configure --enable-ldap
make depend
make
make test
make install
mkdir nss_ldap
cd nss_ldap
ftp ftp.padl.com
anonymous
youremailaddress@yourcompany.com
bin
get pub/nss_ldap-199.tar.gz ./nss_ldap-199.tar.gz
quit
gzip -d nss_ldap-199.tar.gz
tar -xf nss_ldap-199.tar
cd nss_ldap-199
./configure --enable-schema-mapping --enable-rfc2307bi
make
make check
make install
mkdir pam_ldap
cd pam_ldap
ftp ftp.padl.com
bin
get pub/pam_ldap-151.tar.gz ./nss_ldap-199.tar.gz
quit
gzip -d pam_ldap.tgz
tar -xf pam_ldap.tar
cd pam_ldap-151
./configure --enable-schema-mapping --enable-rfc2307bi
make
make check
make install
authconfig
On the first screen, select "Use LDAP". Enter the IP address of the LDAP server (which is your Windows 2000 Active Directory) and the base DN that youenteredwhenyousetupActiveDirectory(e.g.:dc=yourcompany,dc=com). Go to the next page. Make sure that "Use LDAP Authentication" is checked and that the "Server" and "Base DN" are correct. Then select OK.
mv /etc/ldap.conf /etc/ldap.conf.old
vi /etc/ldap.conf
mv /usr/local/etc/openldap/ldap.conf /usr/local/etc/openldap/ldap.conf.old
vi /usr/local/etc/openldap/ldap.conf
ln /etc/openldap/ldap.conf /usr/local/etc/openldap/ldap.conf
mv /etc/pam.d/login /etc/pam.d/login.old
vi /etc/pam.d/login
Table of Contents Previous Next
© 2002 Henry Beatty Last Modified:
Disclaimer: I will not be held responsible for any problems encountered by following these instructions. This is informational only. Do not use this on a production system. Use at your own risk.