Security Framework Guide

Security Framework Guide

Setting Up LDAP

Setting Up LDAP

To set up a LDAP server on Linux machine:
  1. You need to install Berkeley Database Version 11 gR2 (11.2.5.1.29) as one of the pre-requisite.
    The latest version of Berkeley Database does not work with LDAP.
  2. Before installing LDAP, set up the following environment variables:
    $ LDFLAGS="-L/usr/local/lib -L/usr/local/BerkeleyDB.5.1/lib -R/usr/local/BerkeleyDB.5.1/lib" $ export LDFLAGS $ CPPFLAGS="-I/usr/local/BerkeleyDB.5.1/include/" $ export CPPFLAGS $ LIBS="-ldb -lgcc_s" $ export LIBS $ LD_LIBRARY_PATH=/usr/local/BerkeleyDB.5.1/lib $ export LIBRARY_PATH
    1. Ensure that the path for Berkeley DB.5.1 lib and include folder is correct.
      $ configure --enable-ldap $ make depend $ su root -c 'make install'
  3. To install LDAP Version (2.4.23 (20100719)), download it from ftp://ftp.openldap.org/pub/OpenLDAP/openldap-stable/openldap-stable-20100719.tgz

0 COMMENTS

We’d like to hear from you!