The LDAP server daemon is called Slapd. Slapd supports a variety of different database backends which you can use.They include the primary choice BDB, a high-performance transactional database backend; LDBM, a lightweight DBM based backend.
Pre-Requirements
1) OpenSSL TLS Libraries
2)Database Software-Slapd's primary database backend, BDB, requires Sleepycat Software Berkeley DB
BerkeleyDB install steps:
Now lets install OpenLDAP.
5. make
6. make depend
7. make install
BerkeleyDB install steps:
- Download BDB from: wget http://download.oracle.com/berkeley-db/db-5.1.25.tar.gz
- tar xzvf db-5.1.25.tar.gz
- cd db-5.1.25
- ./dist/configure --prefix=/custom/BerkeleyDB/5.1.25/
- make && make install
Now lets install OpenLDAP.
- Download Openldap at: wget ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.4.36.tgz
- cd openldap-2.4.36
- Set Library paths:
- export CPPFLAGS="-I /custom/BerkeleyDB/5.1.25/include"
- export LD_LIBRARY_PATH="/custom/BerkeleyDB/5.1.25/lib"
- export LDFLAGS="-L/usr/local/lib -L/custom/BerkeleyDB/5.1.25/lib -R/data/BerkeleyDB/5.1.25/lib" //note- this step is optional and can be ignored if we are able to run the configure command wthout any error.
5. make
6. make depend
7. make install
No comments:
Post a Comment