mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 08:50:12 +01:00
Update ADconnection.sh
This commit is contained in:
parent
e4c7e201f4
commit
099588f0eb
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user