mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 08:50:12 +01:00
patch package issue
patch package issue
This commit is contained in:
parent
8765250225
commit
0aecc7bb8f
@ -1087,7 +1087,7 @@ fi
|
|||||||
encrypt=$( sudo grep ENCRYPTEDPASSWD readfile | awk '{print $3}' )
|
encrypt=$( sudo grep ENCRYPTEDPASSWD readfile | awk '{print $3}' )
|
||||||
if [ "$encrypt" = "null" ] || [ "$encrypt" = "no" ]
|
if [ "$encrypt" = "null" ] || [ "$encrypt" = "no" ]
|
||||||
then
|
then
|
||||||
if ! sudo realm join --verbose --user="$DomainADMIN" "$DOMAIN"
|
if ! sudo realm join --verbose --user="$DomainADMIN" "$DOMAIN" --install=/
|
||||||
then
|
then
|
||||||
echo "${RED_TEXT}AD join failed.please check your errors with journalctl -xe${END}"
|
echo "${RED_TEXT}AD join failed.please check your errors with journalctl -xe${END}"
|
||||||
exit
|
exit
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user