correctly set ldap password
This commit is contained in:
parent
6b633189b7
commit
2bd9546f47
@ -10,9 +10,12 @@ RUN apk add --no-cache \
|
||||
nextcloud-user_ldap \
|
||||
nextcloud-files_sharing \
|
||||
nextcloud-files_texteditor \
|
||||
nextcloud-files_pdfviewer \
|
||||
nextcloud-theming \
|
||||
nextcloud-pgsql \
|
||||
php7-opcache \
|
||||
php7-pcntl
|
||||
php7-pcntl \
|
||||
php7-imagick
|
||||
|
||||
RUN chown -R nginx:nginx /var/lib/nextcloud
|
||||
RUN chown -R nginx:nginx /etc/nextcloud
|
||||
|
@ -22,6 +22,8 @@ if [ $? -ne 1 ]; then
|
||||
s6-setuidgid nginx ./occ app:enable user_ldap
|
||||
s6-setuidgid nginx ./occ app:enable files_sharing
|
||||
s6-setuidgid nginx ./occ app:enable files_texteditor
|
||||
s6-setuidgid nginx ./occ app:enable files_pdfviewer
|
||||
s6-setuidgid nginx ./occ app:enable theming
|
||||
fi
|
||||
|
||||
s6-setuidgid nginx ./occ config:system:set --value "https://$DOMAIN" overwrite.cli.url
|
||||
@ -47,7 +49,7 @@ s6-setuidgid nginx ./occ config:app:set --value "$LDAP_LOGIN_FILTER" user_ldap l
|
||||
s6-setuidgid nginx ./occ config:app:set --value "$LDAP_TLS" user_ldap ldap_tls
|
||||
s6-setuidgid nginx ./occ config:app:set --value "$LDAP_HOST" user_ldap ldap_host
|
||||
s6-setuidgid nginx ./occ config:app:set --value "$LDAP_BIND_USER" user_ldap ldap_dn
|
||||
s6-setuidgid nginx ./occ config:app:set --value "$(php -r 'echo base64_encode(getenv(\"LDAP_BIND_PASSWORD\"));')" user_ldap ldap_agent_password
|
||||
s6-setuidgid nginx ./occ config:app:set --value "$(php -r 'echo base64_encode(getenv("LDAP_BIND_PASSWORD"));')" user_ldap ldap_agent_password
|
||||
s6-setuidgid nginx ./occ config:app:set --value "$LDAP_GROUP_FILTER" user_ldap ldap_group_filter
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user