LDAP-Series-一-Chapter-1
LDAP-Series-1-Chapter-1OpenLdap | BDB(Necessary)Install: Compile SourceDownload:http://www.openldap
LDAP-Series-1-Chapter-1
OpenLdap | BDB(Necessary)
Install: Compile Source
Download:http://www.openldap.org/ | http://www.oracle.com/technetwork/products/berkeleydb/downloads/index.html (The Oracle Index -> Download(Register Required))
Source: openldap-2.4.32.tgz | db-5.3.21.tar.gz
Install bdb
tar -xf db-5.3.21.tar.gzcd db.../build_unix../dist/configuremakemake install (finish path:/usr/local/BerkeleyDB..)Add lib path to
/etc/ld.so.conf(/usr/local/BerkeleyDB.../lib), then
ldconfig.OR cp /usr/local/ BerkeleyDB.4.5/include/* /usr/include | cp /usr/local/ BerkeleyDB.4.5/lib/* /usr/lib
Install openldap
tar -xf openldap-2.4.32.tgzcd openldap..(IF NEED export CPPFLAGS="-I/usr/local/BerkeleyDB.../include" | export LDFLAGS="-L/usr/local/lib -L/usr/local/BerkeleyDB.../lib" )./configure
--prefix=PREFIX =/usr/local/openldap (
Necessay, or install at /usr/local)make depend
makemake test (take a so so long term | maybe can be ignore)make install
Ok, install finished.
Next you need config you slapd.conf. See next chapter