Commit 4aafe066 authored by nimrod's avatar nimrod
Browse files

slapd: Fix for missing ldap.conf.

It's part of ldap-common and that package is not required anymore. Since
I'm creating most of it already, just create all of it.
parent d465da2f
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ RUN apt-get update && \
    install -o root -g ssl-cert -m 664 /dev/null /etc/ssl/certs/ssl-cert-snakeoil.pem && \
    install -o root -g ssl-cert -m 664 /dev/null /etc/ssl/private/ssl-cert-snakeoil.key && \
    install -o root -g ssl-cert -m 664 /dev/null /usr/share/slapd/dh.pem && \
    chown openldap /etc/ldap/ldap.conf && \
    install -o openldap -g root -m 644 /dev/null /etc/ldap/ldap.conf && \
    install -d -o openldap -g openldap /run/slapd && \
    install -d -o openldap -g openldap /var/backups/ldap && \
    install -d -o openldap -g openldap /var/lib/ldap && \
+1 −0
Original line number Diff line number Diff line
@@ -62,6 +62,7 @@ cat >> /etc/ldap/ldap.conf <<EOF
URI         ldapi:///
SASL_MECH   EXTERNAL
BASE        $BASE_DN
TLS_CACERT  /etc/ssl/certs/ca-certificates.crt
EOF

# Unset the root password hash.