From 1e2512c998ea35b8ae39600e0a7524bde1c8a689 Mon Sep 17 00:00:00 2001 From: Bertrand Gouny Date: Wed, 18 Jun 2014 23:02:30 +0200 Subject: [PATCH 1/2] [twgit] Init hotfix 'hotfix-0.7.3'. From 3ae806c51f4e10343f9e08de4114ffde2ff985fe Mon Sep 17 00:00:00 2001 From: Bertrand Gouny Date: Wed, 18 Jun 2014 23:03:01 +0200 Subject: [PATCH 2/2] retour utilisateur openldap --- service/slapd/slapd.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/service/slapd/slapd.sh b/service/slapd/slapd.sh index 3adf981..70c1599 100755 --- a/service/slapd/slapd.sh +++ b/service/slapd/slapd.sh @@ -46,7 +46,8 @@ fi if [ ! -e /etc/ldap/config/docker_bootstrapped ]; then status "Custom config" - slapd -h "ldapi:///" + slapd -h "ldapi:///" -u openldap -g openldap + chown -R openldap:openldap /etc/ldap # TLS if [ -e /etc/ldap/ssl/ldap.crt ] && [ -e /etc/ldap/ssl/ldap.key ] && [ -e /etc/ldap/ssl/ca.crt ]; then @@ -85,5 +86,5 @@ fi status "starting slapd on default port 389" set -x #with debug: -#exec /usr/sbin/slapd -h "ldap:///" -d -1 -exec /usr/sbin/slapd -h "ldap:///" +#exec /usr/sbin/slapd -h "ldap:///" -u openldap -g openldap -d -1 +exec /usr/sbin/slapd -h "ldap:///" -u openldap -g openldap