enable ldap config

This commit is contained in:
Sebastian Hugentobler 2018-01-30 08:48:33 +01:00
parent 096dfc01c4
commit 9878163549
2 changed files with 1 additions and 3 deletions

View File

@ -109,9 +109,6 @@ Ldap filter to find valid groups.
## LDAP_EMAIL_ATTRIBUTE
Ldap attribute for the email.
## LDAP_TURN_OFF_CERT_CHECK
Whether to turn off certificate checks when connecting to the ldap host.
# Ports
- 80

View File

@ -48,4 +48,5 @@ if [ $? -ne 1 ]; then
s6-setuidgid nginx ./occ config:app:set --value "$LDAP_USER_DISPLAY_NAME" user_ldap ldap_display_name
s6-setuidgid nginx ./occ config:app:set --value "${LDAP_PORT:-389}" user_ldap ldap_port
s6-setuidgid nginx ./occ config:app:set --value "$LDAP_BASE_USER_DN" user_ldap ldap_base_users
s6-setuidgid nginx ./occ config:app:set --value "yes" user_ldap enabled
fi