From 4f0781047660c20a919e61ed8225b0e81f16314a Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Thu, 15 Jun 2017 13:09:12 +0200 Subject: [PATCH] configure ldap even more correct --- README.md | 3 --- rootfs/etc/cont-init.d/00-nextcloud | 3 --- 2 files changed, 6 deletions(-) diff --git a/README.md b/README.md index 79cc548..97f5b52 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/rootfs/etc/cont-init.d/00-nextcloud b/rootfs/etc/cont-init.d/00-nextcloud index b8f241a..c9783a7 100644 --- a/rootfs/etc/cont-init.d/00-nextcloud +++ b/rootfs/etc/cont-init.d/00-nextcloud @@ -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