The ITS is intended to track bugs; please direct usage questions to [email protected]. 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 > ************************************************** > 1) Create build_unix directory in /opt directory > 2) Copy db-4.7.25.tar.gz to /opt/build_unix directory > 3) Goto /opt/build_unix directory > 4) gzip -d db-4.7.25.tar.gz > 5) tar xvf db-4.7.25.tar > 6) db-4.7.25/dist/configure > 7) make > 8) make install > 9) vi /root/.bash_profile > 10) 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 > ************************************************** > 1) Copy openldap-stable-20090411.tgz to /opt directory > 2) gunzip -c openldap-stable-20090411.tgz | tar xf - > 3) cd openldap-2.4.16 > 4) 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) > >
