set default ldap port to 389

This commit is contained in:
Sebastian Hugentobler 2018-01-30 08:42:09 +01:00
parent 8673377a89
commit 096dfc01c4
2 changed files with 3 additions and 1 deletions

View File

@ -72,6 +72,8 @@ Password for SMTP authentication.
Ldap host.
## LDAP_PORT
- default: 389
Ldap port.
## LDAP_TLS

View File

@ -46,6 +46,6 @@ if [ $? -ne 1 ]; then
s6-setuidgid nginx ./occ config:app:set --value "$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" user_ldap ldap_port
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
fi