From: Michael Tremer Date: Sun, 16 Aug 2009 19:37:48 +0000 (+0200) Subject: openldap: Split openldap into lots of modules. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=863fe649c53cac44c98602d8b44a8890ecb70b7f;p=ipfire-3.x.git openldap: Split openldap into lots of modules. --- diff --git a/lfs/openldap b/lfs/openldap index 76c8c2ccc..6e43b5cd3 100644 --- a/lfs/openldap +++ b/lfs/openldap @@ -91,16 +91,18 @@ $(OBJECT): $(objects) ./configure \ $(CONFIGURE_ARCH) \ --prefix=/usr \ - --libexecdir=/usr/sbin \ + --libexecdir=/usr/lib \ --sysconfdir=/etc \ --localstatedir=/var \ + --with-threads=posix \ --disable-debug \ + --disable-perl \ --enable-dynamic \ --enable-crypt \ --enable-modules \ --enable-rlookups \ - --enable-backends \ - --enable-overlays \ + --enable-backends=mod \ + --enable-overlays=mod \ --enable-sql=no \ --enable-ndb=no \ --disable-static @@ -109,7 +111,8 @@ $(OBJECT): $(objects) cd $(DIR_APP) && make $(PARALLELISMFLAGS) cd $(DIR_APP) && make install - rm -rvf /var/openldap-data + mv -v /usr/lib/slapd /usr/sbin/slapd + rm -rvf /var/openldap-data /usr/lib/openldap/*.la for LINK in lber ldap ldap_r; do \ chmod -v 0755 /usr/lib/$$(readlink /usr/lib/lib$${LINK}.so); \ diff --git a/src/openldap/slapd.conf b/src/openldap/slapd.conf index 4bb08806f..cfb95d080 100644 --- a/src/openldap/slapd.conf +++ b/src/openldap/slapd.conf @@ -21,6 +21,12 @@ argsfile /var/run/slapd.args loglevel 2048 +####################################################################### +# Load modules +####################################################################### + +moduleload back_hdb.so + ####################################################################### # ACL #######################################################################