From 099588f0eb4f337e7affc32375f68795d6809daa Mon Sep 17 00:00:00 2001 From: PierreGode <8579922+PierreGode@users.noreply.github.com> Date: Wed, 25 Mar 2020 17:18:57 +0100 Subject: [PATCH] Update ADconnection.sh --- ADconnection.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ADconnection.sh b/ADconnection.sh index 56d7343..6c93a62 100755 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -253,7 +253,7 @@ sasl=$( sudo grep LDAPS readfile | awk '{print $3}' ) else echo "$sasl" cacer=$( sudo grep CACERT readfile | awk '{print $3}' ) - if ! ls $cacer + if ! ls "$cacer" then echo "No root CA found, check your path to file" else echo "Applied config from readfile" @@ -587,7 +587,7 @@ sasl=$( grep LDAPS readfile | awk '{print $3}' ) else echo "$sasl" cacer=$( grep CACERT readfile | awk '{print $3}' ) - if ! ls $cacer + if ! ls "$cacer" then echo "No root CA found, check your path to file" else echo "Applied config from readfile" @@ -1551,7 +1551,7 @@ echo "" fi echo "-------------------------------------------------------------------------------------" echo "" -if ! realm discover $therealm +if ! realm discover "$therealm" then echo "realm not found" else