From 2dcde28f9945ebc3b89aca0782329d4a99762fb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Luginb=C3=BChl?= Date: Wed, 3 Jun 2015 00:10:21 +0200 Subject: [PATCH] Updated to Debian Jessie --- Dockerfile | 4 ++-- entrypoint.sh | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5780b35..2afbc51 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM debian:wheezy +FROM debian:jessie MAINTAINER Christian Luginbühl -ENV OPENLDAP_VERSION 2.4.31 +ENV OPENLDAP_VERSION 2.4.40 RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get install -y \ diff --git a/entrypoint.sh b/entrypoint.sh index 49ff6f4..3a9504e 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -79,6 +79,8 @@ EOF slapadd -n0 -F /etc/ldap/slapd.d -l "/etc/ldap/modules/${module}.ldif" >/dev/null 2>&1 done fi + + chown -R openldap:openldap /etc/ldap/slapd.d/ else slapd_configs_in_env=`env | grep 'SLAPD_'`