Compiling OpenLDAP on Solaris


Tags:
compiling openLDAP 2.2.23 on solaris 8
-------------------------------------

pre-requisites:

Berkley DB
openSSL (compiled as shared)
tcp wrappers
autoconf
automake

for compile:

setenv CC gcc
setenv LD_LIBRARY_PATH /usr/local/BerkeleyDB.4.3/lib:/usr/local/lib:/usr/lib:/usr/local/ssl/lib
setenv LDFLAGS "-L/usr/local/BerkeleyDB.4.3/lib -R/usr/local/BerkeleyDB.4.3/lib"
setenv CPPFLAGS "-I/usr/local/BerkeleyDB.4.3/include" 

./configure --enable-wrappers --with-tls

# if you receive this error:
--- configure: error: Could not locate TLS/SSL package ---

try this:
cp -R /usr/local/ssl/include/openssl /usr/include


make depend
make
make test
make install


I have searched may places to find the answer of this. I want to know what is the use of LDAP and what are the scenario's where I can use LDAP. I just know LDAP means Lightweight Directory Access Protocol.

It's a directory protocol that stores information in a "tree." A very common use of it is for user authentication. An application may have a login page, and when the user enters their login information, the application would connect to the LDAP directory to retrieve information about that user, as far as what permissions that user has, or what groups the user belongs to, etc. Microsoft's Active Directory is similar.