OpenLDAP: Difference between revisions
From CBLFS
				
				
				Jump to navigationJump to search
				
				
| No edit summary | Chipster19 (talk | contribs) No edit summary | ||
| Line 7: | Line 7: | ||
| ---- | ---- | ||
| {{Package-Introduction|The OpenLDAP package provides an open source implementation of the Lightweight Directory Access Protocol.}} | {{Package-Introduction|The OpenLDAP package provides an open source implementation of the Lightweight Directory Access Protocol.|http://www.openldap.org/}} | ||
| == Dependencies == | == Dependencies == | ||
Revision as of 06:01, 5 May 2007
| Download Source: | ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.4.19.tgz | 
|---|
Introduction to OpenLDAP
The OpenLDAP package provides an open source implementation of the Lightweight Directory Access Protocol.
Project Homepage: http://www.openldap.org/
Dependencies
Required
- Berkeley DB or GDBM
Reccomended
Optional
Configuration Information
If you really want to build OpenLDAP with GNU Database Manager instead of Berkeley DB, add the following flags to configure script:
--disable-bdb --disable-hdb --with-ldbm-api=gdbm
Non-Multilib
Compile the package:
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/openldap \ --localstatedir=/srv/ldap --disable-debug --enable-dynamic \ --enable-crypt --enable-modules --enable-ldap --enable-ldbm \ --enable-dyngroup --enable-dynlist --enable-ppolicy --enable-valsort && make
Install the package
make install &&
chmod -v 755 /usr/lib/libl{dap,ber}*.so* &&
install -dv -m755 /usr/share/doc/openldap-2.4.19/{drafts,guide,rfc} &&
install -v -m644 doc/drafts/* /usr/share/doc/openldap-2.4.19/drafts &&
install -v -m644 doc/rfc/*    /usr/share/doc/openldap-2.4.19/rfc &&
cp -Rv doc/guide/*          /usr/share/doc/openldap-2.4.19/guide
Multilib
32Bit
Compile the package:
CC="gcc ${BUILD32}" ./configure --prefix=/usr --sysconfdir=/etc \
    --localstatedir=/srv/ldap --libexecdir=/usr/lib/openldap \
    --disable-debug --enable-dynamic --enable-crypt --enable-modules \
    --enable-ldap --enable-ldbm --enable-dyngroup --enable-dynlist \
    --enable-ppolicy --enable-valsort &&
make
Install the package
make install &&
chmod -v 755 /usr/lib/libl{dap,ber}*.so*
N32
Compile the package:
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib32 \
    --localstatedir=/srv/ldap --libexecdir=/usr/lib32/openldap \
    --disable-debug --enable-dynamic --enable-crypt --enable-modules \
    --enable-ldap --enable-ldbm --enable-dyngroup --enable-dynlist \
    --enable-ppolicy --enable-valsort &&
make
Install the package
make install &&
chmod -v 755 /usr/lib32/libl{dap,ber}*.so*
64Bit
Compile the package:
CC="gcc ${BUILD64}" ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 \
    --localstatedir=/srv/ldap --libexecdir=/usr/lib64/openldap \
    --disable-debug --enable-dynamic --enable-crypt --enable-modules \
    --enable-ldap --enable-ldbm --enable-dyngroup --enable-dynlist \
    --enable-ppolicy --enable-valsort &&
make
Install the package
make install &&
chmod -v 755 /usr/lib64/libl{dap,ber}*.so*
install -dv -m755 /usr/share/doc/openldap-2.4.19/{drafts,guide,rfc} &&
install -v -m644 doc/drafts/* /usr/share/doc/openldap-2.4.19/drafts &&
install -v -m644 doc/rfc/* /usr/share/doc/openldap-2.4.19/rfc &&
cp -Rv doc/guide/* /usr/share/doc/openldap-2.4.19/guide