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
05ca6de0a1
commit
13461f2bbb
@ -903,10 +903,14 @@ then
|
||||
exit
|
||||
fi
|
||||
else
|
||||
echo "error in readfile"
|
||||
echo "No readfile"
|
||||
if ! sudo realm join --verbose --user="$ADMIN" "$DOMAIN" --install=/
|
||||
then
|
||||
echo "${RED_TEXT}AD join failed.please check your errors with journalctl -xe${END}"
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
else
|
||||
if [ "$var" -eq "16" ]
|
||||
then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user