From bfbeb0bbb2c1342685c78f88be1c55abb1f71b91 Mon Sep 17 00:00:00 2001 From: PierreGode <8579922+PierreGode@users.noreply.github.com> Date: Tue, 29 Mar 2022 13:53:00 +0200 Subject: [PATCH] Rework on leaving domain and rejoin Rework on leaving domain and rejoin --- ADconnection.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ADconnection.sh b/ADconnection.sh index 3dfbc34..be52f66 100755 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -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