Monday, March 19, 2007

How to install openLDAP

To install openLDAP you need to install BerkeleyDB first
Download latest version of BerkeleyDB
Extract it using tar xvf
cd in to db-version/build_unix
Run following commands in the same order
../dist/configure
make
make install

This should be run without any errors

Now you can install openLDAP
Download openLDAP which is a open source software.
Then do the following

Copy the tar.gz file to your preffered directory.
Extract it using tar xvf command
Change your current working directory in to ectracted openLDAP directory
Run following command in the same order
./configure
make depend
make

Then run 'make install' as root user


My Expierience
I got a error while running configure the openLDAP saying that it can't find the BerkerleyDB, if you also encounted with this error copy the db.h file it is normally located in /usr/local/BerkeleyDB.4.3/include to /usr/include
Then you should be ok.
Best wishers


Next document how to use openLDAP server as digital certificate storage