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