Commit 8df69d57 authored by dinkel's avatar dinkel
Browse files

Merge pull request #2 from xuhdev/owner

Change the owner of the files in /var/lib/ldap to openldap and run sladp as openldap
parents 8638ea5a 8c0efb2d
......@@ -24,4 +24,4 @@ COPY /
CMD ["slapd", "-d", "32768"]
CMD ["slapd", "-d", "32768", "-u", "openldap", "-g", "openldap"]
set -e
chown openldap:openldap /var/lib/ldap/
chown -R openldap:openldap /var/lib/ldap/
if [[ ! -d /etc/ldap/slapd.d ]]; then
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment