configure ldap correctly

This commit is contained in:
Sebastian Hugentobler 2017-06-15 12:34:36 +02:00
parent 4cb91a94d4
commit 9e9a9c47f0

View File

@ -49,6 +49,8 @@ if [ $? -ne 1 ]; then
s6-setuidgid nginx ./occ ldap:set-config 's01' ldapBaseGroups "$LDAP_BASE_GROUP_DN"
s6-setuidgid nginx ./occ ldap:set-config 's01' ldapGroupFilter "$LDAP_GROUP_FILTER"
s6-setuidgid nginx ./occ ldap:set-config 's01' ldapExpertUsernameAttr "$LDAP_USERNAME_ATTRIBUTE"
s6-setuidgid nginx ./occ ldap:set-config 's01' ldap_expert_uuid_group_attr "$LDAP_USERNAME_ATTRIBUTE"
s6-setuidgid nginx ./occ ldap:set-config 's01' ldap_expert_uuid_user_attr "$LDAP_USERNAME_ATTRIBUTE"
s6-setuidgid nginx ./occ ldap:set-config 's01' turnOffCertCheck "$LDAP_TURN_OFF_CERT_CHECK"
s6-setuidgid nginx ./occ ldap:set-config 's01' ldapConfigurationActive "1"
fi