configure ldap even more correct

This commit is contained in:
Sebastian Hugentobler 2017-06-15 13:09:12 +02:00
parent 9e9a9c47f0
commit 4f07810476
2 changed files with 0 additions and 6 deletions

View File

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

View File

@ -48,9 +48,6 @@ if [ $? -ne 1 ]; then
s6-setuidgid nginx ./occ ldap:set-config 's01' ldapEmailAttribute "$LDAP_EMAIL_ATTRIBUTE"
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