Fix syntax with ldap.conf from OPENLDAP_TLS_REQCERT value

This commit is contained in:
Adam W Zheng 2017-09-08 10:51:43 -05:00
parent 17cd187344
commit b55880a0f9
2 changed files with 4 additions and 4 deletions

View File

@ -46,7 +46,7 @@ CONFIG_THEMEUSE=${CONFIG_THEMEUSE:=default}
CONFIG_STORETYPE=${CONFIG_STORETYPE:=phpsession}
WWW_INDEX=${WWW_INDEX:=core/frontpage_welcome.php}
OPENLDAP_TLS_REQCERT=${OPENLDAP_TLS_REQCERT:=demand}
echo -e "TLS_REQCERT\t$OPENLDAP_TLS_REQCERT" >> /etc/openldap/ldap.conf
if [ "$DOCKER_REDIRECTLOGS" = "true" ]; then
echo "[$0] DOCKER_REDIRECTLOGS was set to 'true', so setting CONFIG_LOGGINGHANDLER to 'file'"
@ -273,7 +273,7 @@ if [ "$CONFIG_STORETYPE" == "memcache" ]; then
fi
fi
chown php-fpm:php-fpm /var/simplesamlphp/log
chown php-fpm:php-fpm /var/simplesamlphp/log/
touch /var/simplesamlphp/config/.dockersetupdone

View File

@ -207,7 +207,7 @@ if ! [ $? -ne 0 ]; then
fi
#Apply server certificate check in a TLS session
echo "TLS_REQCERT=$OPENLDAP_TLS_REQCERT" >> /etc/openldap/ldap.conf
echo -e "TLS_REQCERT\t$OPENLDAP_TLS_REQCERT" >> /etc/openldap/ldap.conf
#Configure SimpleSAMLphp from runtime variables.
@ -273,7 +273,7 @@ if [ "$CONFIG_STORETYPE" == "memcache" ]; then
fi
fi
chown php-fpm:php-fpm /var/simplesamlphp/log
chown php-fpm:php-fpm /var/simplesamlphp/log/
touch /var/simplesamlphp/config/.dockersetupdone