Bug Fix#2 LDAPS authentification

This commit is contained in:
DiouxX committed 2017-04-28 15:52:45 +02:00
1 parent 00499ead13
commit 942b83a54f
1 file changed
+7
+7
View File
@@ -6,6 +6,13 @@ TAR_GLPI=glpi-${VERSION_GLPI}.tar.gz
FOLDER_GLPI=glpi/ FOLDER_GLPI=glpi/
FOLDER_WEB=/var/www/html/ FOLDER_WEB=/var/www/html/
#check if TLS_REQCERT is present
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
fi
#Téléchargement et extraction des sources de GLPI #Téléchargement et extraction des sources de GLPI
if [ "$(ls ${FOLDER_WEB}${FOLDER_GLPI})" ]; if [ "$(ls ${FOLDER_WEB}${FOLDER_GLPI})" ];
then then