The ITS is intended to track bugs; please direct usage questions to openldap-software@openldap.org. This ITS will be closed.
p.
Full_Name: Devender Singh Version: openldap 2.4.16 OS: RHEL5.4 URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (122.177.190.226)
Hello Dear,
Please let me know, how to implement ppolicy in
openldap2.4.16. I am using RHEL5.4
I have followed below steps on installation time:
Installing BerkeleyDB
- Create build_unix directory in /opt directory
- Copy db-4.7.25.tar.gz to /opt/build_unix directory
- Goto /opt/build_unix directory
- gzip -d db-4.7.25.tar.gz
- tar xvf db-4.7.25.tar
- db-4.7.25/dist/configure
- make
- make install
- vi /root/.bash_profile
- Add below lines in .bash_profile of root user
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/BerkeleyDB.4.7/lib export LD_RUN_PATH=$LD_RUN_PATH:/usr/local/BerkeleyDB.4.7/lib 11) Close existing PUTTY and start new PUTTY
Before Installation check the below packages: #rpm �qa|grep openssl* After the above command if you don�t find the all openssl
packages than
install them via yum command
Installing OpenLDAP
- Copy openldap-stable-20090411.tgz to /opt directory
- gunzip -c openldap-stable-20090411.tgz | tar xf -
- cd openldap-2.4.16
- CPPFLAGS="-I/usr/local/BerkeleyDB.4.7/include
-I/usr/local/ssl/include/openssl" 5) export CPPFLAGS 6) LDFLAGS="-L/usr/local/lib -L/usr/local/BerkeleyDB.4.7/lib -L/usr/local/ssl/lib -R/usr/local/lib -R/usr/local/BerkeleyDB.4.7/lib -R/usr/local/ssl/lib" 7) export LDFLAGS 8) LD_LIBRARY_PATH="/usr/local/BerkeleyDB.4.7/lib" 9) export LD_LIBRARY_PATH 10) ./configure 11) make depend 12) make 13) make install 14) vi /root/.bash_profile 15) Add OpenLDAP sbin path in .bash_profile of root user (E.g. export PATH=$PATH:$HOME/bin:/usr/local/sbin) 16) Close existing PUTTY and start new PUTTY
Thanks in Advance.
Regards, Devender Singh (+919818107222)