Update ADconnection.sh

This commit is contained in:
PierreGode 2018-08-08 09:30:53 +02:00 committed by GitHub
parent bd52c0ff94
commit 05f5775b36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -832,6 +832,7 @@ export HOSTNAME
myhost=$( hostname ) myhost=$( hostname )
ldaptools=$( sudo dpkg -l | grep -i ldap-utils | cut -d 's' -f1 | cut -d 'l' -f2 ) ldaptools=$( sudo dpkg -l | grep -i ldap-utils | cut -d 's' -f1 | cut -d 'l' -f2 )
echo "${NUMBER}Remember!you must be logged in with AD admin on the client/server to use this funktion${END}" echo "${NUMBER}Remember!you must be logged in with AD admin on the client/server to use this funktion${END}"
echo "${NUMBER}Remember!please edit in ldap.conf the lines BASE and URI in /etc/ldap/ldap.conf ${END}"
sleep 3 sleep 3
if [ "$ldaptools" = dap-uti ] if [ "$ldaptools" = dap-uti ]
then then