Skip to content

Commit

Permalink
Update entrypoint.sh (#58)
Browse files Browse the repository at this point in the history
Fix for #47 #47
  • Loading branch information
AngusMcGyver committed Aug 4, 2021
1 parent 8998b05 commit 39fadf2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions files/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ if [ -f /firstrun ]; then

sed -i 's#LDAP_HOSTNAME#'"$LDAP_HOSTNAME"'#g' /etc/lighttpd/auth-ldap.conf
sed -i 's#LDAP_BASE_DN#'"$LDAP_BASE_DN"'#g' /etc/lighttpd/auth-ldap.conf
LDAP_FILTER=$(sed 's#&#\\&#g' <<< "$LDAP_FILTER")
sed -i 's#LDAP_FILTER#'"$LDAP_FILTER"'#g' /etc/lighttpd/auth-ldap.conf
sed -i 's#LDAP_BIND_DN#'"$LDAP_BIND_DN"'#g' /etc/lighttpd/auth-ldap.conf
sed -i 's#LDAP_BIND_PW#'"$LDAP_BIND_PW"'#g' /etc/lighttpd/auth-ldap.conf
Expand Down

0 comments on commit 39fadf2

Please sign in to comment.