From 9fa9bf80a2ea27735e4ffdda788d30815cc6ab87 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 17 Nov 2011 11:51:51 +0100 Subject: update openldap, fine tune config --- package/openldap/Makefile | 9 +++++---- package/openldap/files/slapd.conf | 8 ++++---- 2 files changed, 9 insertions(+), 8 deletions(-) (limited to 'package/openldap') diff --git a/package/openldap/Makefile b/package/openldap/Makefile index bd2492ad0..04470007a 100644 --- a/package/openldap/Makefile +++ b/package/openldap/Makefile @@ -4,12 +4,12 @@ include ${TOPDIR}/rules.mk PKG_NAME:= openldap -PKG_VERSION:= 2.4.25 +PKG_VERSION:= 2.4.26 PKG_RELEASE:= 1 -PKG_MD5SUM:= ec63f9c2add59f323a0459128846905b +PKG_MD5SUM:= f36f3086031dd56ae94f722ffae8df5e PKG_DESCR:= OpenLDAP client libraries PKG_SECTION:= libs -PKG_DEPENDS:= libopenssl libsasl2 +PKG_DEPENDS:= libopenssl libsasl2 libdb libpthread PKG_BUILDDEP:= cyrus-sasl openssl db PKG_URL:= http://www.openldap.org/ PKG_SITES:= ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/ @@ -93,6 +93,7 @@ libopenldap-dev-install: ${IDIR_LIBOPENLDAP_DEV}/usr/include openldap-utils-install: + ${INSTALL_DIR} ${IDIR_OPENLDAP_UTILS}/etc/openldap-data ${INSTALL_DIR} ${IDIR_OPENLDAP_UTILS}/usr/bin ${CP} ${WRKINST}/usr/bin/ldap* ${IDIR_OPENLDAP_UTILS}/usr/bin/ @@ -100,7 +101,7 @@ openldap-slapd-install: ${INSTALL_DIR} ${IDIR_OPENLDAP_SLAPD}/etc/openldap/schema ${INSTALL_DIR} ${IDIR_OPENLDAP_SLAPD}/usr/sbin ${CP} ${WRKINST}/usr/sbin/slap* ${IDIR_OPENLDAP_SLAPD}/usr/sbin - ${INSTALL_DATA} ${WRKINST}/etc/openldap/schema/core.schema \ + ${INSTALL_DATA} ${WRKINST}/etc/openldap/schema/*.schema \ ${IDIR_OPENLDAP_SLAPD}/etc/openldap/schema ${INSTALL_DATA} ./files/slapd.conf ${IDIR_OPENLDAP_SLAPD}/etc/openldap diff --git a/package/openldap/files/slapd.conf b/package/openldap/files/slapd.conf index d458fc495..3a065043b 100644 --- a/package/openldap/files/slapd.conf +++ b/package/openldap/files/slapd.conf @@ -16,15 +16,15 @@ argsfile /var/run/slapd.args # BDB database definitions ####################################################################### database bdb -suffix "dc=my-domain,dc=com" -rootdn "cn=Manager,dc=my-domain,dc=com" +suffix "o=openadk" +rootdn "cn=admin,o=openadk" # Cleartext passwords, especially for the rootdn, should # be avoid. See slappasswd(8) and slapd.conf(5) for details. # Use of strong authentication encouraged. -rootpw secret +rootpw linux123 # The database directory MUST exist prior to running slapd AND # should only be accessible by the slapd and slap tools. # Mode 700 recommended. -directory /var/openldap-data +directory /etc/openldap-data # Indices to maintain index objectClass eq -- cgit v1.2.3