mirror of
https://github.com/DiouxX/docker-glpi.git
synced 2026-11-04 22:52:32 -05:00
LDAP bug fix after upgarde to Debian 11
This commit is contained in:
1 parent
d1d09adf30
commit
77f7fbb654
1 file changed
+7
-1
+7
-1
@@ -16,10 +16,16 @@ FOLDER_GLPI=glpi/
|
||||
FOLDER_WEB=/var/www/html/
|
||||
|
||||
#check if TLS_REQCERT is present
|
||||
if [ ! -f /etc/ldap/ldapd.conf ]
|
||||
then
|
||||
echo "The file /etc/ldap/ldap.conf does not exit"
|
||||
apt update && apt install -y libldap-2.4-2 libldap-common libsasl2-2 libsasl2-modules libsasl2-modules-db
|
||||
fi
|
||||
|
||||
if !(grep -q "TLS_REQCERT" /etc/ldap/ldap.conf)
|
||||
then
|
||||
echo "TLS_REQCERT isn't present"
|
||||
echo -e "TLS_REQCERT\tnever" >> /etc/ldap/ldap.conf
|
||||
echo -e "TLS_REQCERT\tnever" >> /etc/ldap/ldap.conf
|
||||
fi
|
||||
|
||||
#Téléchargement et extraction des sources de GLPI
|
||||
|
||||
Reference in new issue
Block a user