mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 08:50:12 +01:00
Rework on leaving domain and rejoin
Rework on leaving domain and rejoin
This commit is contained in:
parent
a9399886a5
commit
bfbeb0bbb2
@ -2404,7 +2404,7 @@ read -r -p "Do you really want to leave the domain: $SSSD (y/n)?" yn
|
||||
echo ""
|
||||
sudo echo "" | sudo tee /etc/sssd/sssd.conf
|
||||
echo "has left $SSSD"
|
||||
PRECHECK_FN
|
||||
linuxclient
|
||||
echo ""
|
||||
notify-send ADconnection "Left $SSSD "
|
||||
else
|
||||
@ -2421,7 +2421,7 @@ read -r -p "Do you really want to leave the domain: $SSSD (y/n)?" yn
|
||||
echo "$DOMAIN has been left"
|
||||
echo ""
|
||||
notify-send ADconnection "Left $SSSD "
|
||||
PRECHECK_FN
|
||||
linuxclient
|
||||
else
|
||||
echo "something went wrong"
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user