From 9878163549645e25a4c5b45fd958ae66cdfef540 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Tue, 30 Jan 2018 08:48:33 +0100 Subject: [PATCH] enable ldap config --- README.md | 3 --- rootfs/etc/cont-init.d/00-nextcloud | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 21ceefc..8479fe4 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/rootfs/etc/cont-init.d/00-nextcloud b/rootfs/etc/cont-init.d/00-nextcloud index 7a69aed..3a1afb2 100644 --- a/rootfs/etc/cont-init.d/00-nextcloud +++ b/rootfs/etc/cont-init.d/00-nextcloud @@ -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