Configuring LAM
+ LAM_LANG=en_US
+ export LAM_PASSWORD=lam
+ LAM_PASSWORD=lam
++ php -r '$password = getenv("LAM_PASSWORD"); mt_srand((microtime() * 1000000)); $rand = abs(hexdec(bin2hex(openssl_random_pseudo_bytes(5)))); $salt0 = substr(pack("h*", md5($rand)), 0, 8); $salt = substr(pack("H*", sha1($salt0 . $password)), 0, 4); print "{SSHA}" . base64_encode(pack("H*", sha1($password . $salt))) . " " . base64_encode($salt) . "\n";'
PHP Notice: A non well formed numeric value encountered in Command line code on line 1
+ LAM_PASSWORD_SSHA='{SSHA}vpGllUu49PsGPuQ37rAkmwSFTOw= iudqNA=='
+ LDAP_SERVER=ldap://ldap:389
+ LDAP_DOMAIN=my-domain.com
+ LDAP_BASE_DN=dc=my-domain,dc=com
+ LDAP_USERS_DN=dc=my-domain,dc=com
+ LDAP_GROUPS_DN=dc=my-domain,dc=com
+ LDAP_ADMIN_USER=cn=admin,dc=my-domain,dc=com
+ sed -i -f- /etc/ldap-account-manager/config.cfg
/usr/local/bin/start.sh: line 53: LAM_LICENSE: unbound variable
+ '[' '' == true ']'
+ sed -i -f- /etc/php/7.3/apache2/php.ini
+ LAM_SKIP_PRECONFIGURE=false
Configuring LAM
+ '[' false '!=' true ']'
+ echo 'Configuring LAM'
+ LAM_LANG=en_US
+ export LAM_PASSWORD=lam
+ LAM_PASSWORD=lam
++ php -r '$password = getenv("LAM_PASSWORD"); mt_srand((microtime() * 1000000)); $rand = abs(hexdec(bin2hex(openssl_random_pseudo_bytes(5)))); $salt0 = substr(pack("h*", md5($rand)), 0, 8); $salt = substr(pack("H*", sha1($salt0 . $password)), 0, 4); print "{SSHA}" . base64_encode(pack("H*", sha1($password . $salt))) . " " . base64_encode($salt) . "\n";'
PHP Notice: A non well formed numeric value encountered in Command line code on line 1
+ LAM_PASSWORD_SSHA='{SSHA}vJdXEaGwtV2sC3dgX/iMwFJ81pk= ibIhVQ=='
+ LDAP_SERVER=ldap://ldap:389
+ LDAP_DOMAIN=my-domain.com
+ LDAP_BASE_DN=dc=my-domain,dc=com
+ LDAP_USERS_DN=dc=my-domain,dc=com
+ LDAP_GROUPS_DN=dc=my-domain,dc=com
+ LDAP_ADMIN_USER=cn=admin,dc=my-domain,dc=com
+ sed -i -f- /etc/ldap-account-manager/config.cfg
/usr/local/bin/start.sh: line 53: LAM_LICENSE: unbound variable