1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-07-02 20:26:23 +00:00

smaller cleanups

Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
Felix Bartels 2018-12-11 07:59:03 +01:00
parent 1785ccf7a3
commit faeaf75183

View File

@ -56,7 +56,7 @@ if [ ! -e ./.env ]; then
read -p "LDAP search base [$value_default]: " new_value
LDAP_SEARCH_BASE=${new_value:-$value_default}
value_default="CN=readonly,$LDAP_BASE_DN"
value_default="cn=readonly,$LDAP_BASE_DN"
read -p "LDAP bind user (needs read permissions) [$value_default]: " new_value
LDAP_BIND_DN=${new_value:-$value_default}
@ -68,7 +68,7 @@ if [ ! -e ./.env ]; then
else
LDAP_ADMIN_PASSWORD=$(random_string)
LDAP_SEARCH_BASE="$LDAP_BASE_DN"
LDAP_BIND_DN="CN=readonly,$LDAP_BASE_DN"
LDAP_BIND_DN="cn=readonly,$LDAP_BASE_DN"
LDAP_BIND_PW=$(random_string)
fi
@ -178,6 +178,3 @@ else
echo "config already exists, doing nothing"
echo "if you want to change the configuration, please edit .env directly"
fi
# build the local docker containers. This has the benefit that it will warn about empty variables
#docker-compose build