# ========================================================= # Header details # # Copyright ........: Frank Schulte (fschulte\@hightek.com) # Module/method ....: ./sourceforge.net/doc/pkg/openldap/index.html # Version ..........: 00001 # CVS ..............: $Id: index.html,v 1.1.1.1 2001/07/18 01:50:33 fschulte Exp $ # Analyst ..........: FS # Developers .......: FS - Frank Schulte (fschulte\@hightek.com) # Description ......: OpenLDAP installation documentation # # LastAmended Name # ----------- ------------------------------------------------------------- # # History ..........: # # Vers. Date SSR By Reason # ----- ----------- ---- ---- ------------------------------ # 00001 19.12.2000 n/a FS Begin Documentation of installation process # 00002 21.02.2001 n/a FS Move changelog into a seperate file. # =========================================================0. Changelog: here
# Openldap:
http://www.OpenLDAP.org/
ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/openldap-2.0.7.tgz
# LDAP Maintaince with PHP4 and LDAPExplorer and PERL with LDAPInterface
http://igloo.its.unimelb.edu.au/LDAPExplorer/
ftp://igloo.its.unimelb.edu.au/pub/LDAPExplorer/LDAPExplorer-1.16.tar.gz
ftp://igloo.its.unimelb.edu.au/pub/LDAPInterface
5.3. Install OpenLDAP
cd ${BASE_SOURCES}/sourceforge.net-binaries-needed-software
cd openldap-2.0.7
./configure --prefix=${PKG}/openldap/2.0.7
make depend
make
make test
su -
<root-password>
make install
5.3.1. Config and start new LDAP server
Then you have to shut down existing LDAP Servers and install the init.d script for automatic startup on boot time:
/etc/init.d/ldap stop
Now we install the sourceforge.schema for LDAP and the slapd.conf file and the new /etc/init.d/ldap startup file:
cd ${PKG}/openldap/2.0.7/etc/openldap
mv slapd.conf slapd.conf.orig
cp ${BASE_SOURCE}/sf-genericinst/conf/config.openldap-2.0.7.slapd.conf ${PKG}/openldap/2.0.7/etc/openldap/slapd.conf
cp ${BASE_SOURCE}/sf-genericinst/conf/config.ldap.sf-genericinst.schema
cp ${BASE_SOURCE}/sf-genericinst/etcv/init.d/ldap-2.0.7-suse-7.0 /etc/init.d/ldap
On SuSe Linux 7.0 you must set the variable:
START_LDAP="yes"
in the /etc/rc.config file so your LDAP server gets started on bootup of the system.
Restart the new LDAP server:
/etc/init.d/ldap start
5.3.2. Test the new LDAP server by creating the initial LDAP Directory
cd ${BASE_SOURCES}
cd sf-genericinst/scripts/test/openldap
./test.sf.ldap.sh
This sould create the LDAP Directory.
/etc/init.d/ldap stop
/etc/init.d/ldap start
Restart the LDAP Service
./scripts/serach
Should output the initial LDAP Directory.
# Add lib pathes of openssl and openldap to system /etc/ld.so.conf
echo "${PKG}/openssl/0.9.6/lib" >> /etc/ld.so.conf
echo "${PKG}/openldap/2.0.7/lib" >> /etc/ld.so.conf
ldconfig