mirror of
https://github.com/luzifer-docker/openldap.git
synced 2024-12-20 12:41:17 +00:00
Merge pull request #2 from xuhdev/owner
Change the owner of the files in /var/lib/ldap to openldap and run sladp as openldap
This commit is contained in:
commit
8df69d5799
2 changed files with 2 additions and 2 deletions
|
@ -24,4 +24,4 @@ COPY entrypoint.sh /entrypoint.sh
|
|||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
||||
CMD ["slapd", "-d", "32768"]
|
||||
CMD ["slapd", "-d", "32768", "-u", "openldap", "-g", "openldap"]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
chown openldap:openldap /var/lib/ldap/
|
||||
chown -R openldap:openldap /var/lib/ldap/
|
||||
|
||||
if [[ ! -d /etc/ldap/slapd.d ]]; then
|
||||
|
||||
|
|
Loading…
Reference in a new issue