mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 16:50:13 +01:00
Update ADconnection.sh
This commit is contained in:
parent
6ef3283649
commit
9669cf8e4a
@ -869,7 +869,6 @@ else
|
|||||||
echo ""
|
echo ""
|
||||||
echo "$DOMAIN has not been configured"
|
echo "$DOMAIN has not been configured"
|
||||||
echo ""
|
echo ""
|
||||||
linuxclient
|
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@ -884,8 +883,6 @@ read -p "Do you really want to leave the domain: $DOMAIN (y/n)?" yn
|
|||||||
echo ""
|
echo ""
|
||||||
sudo echo "" | sudo tee /etc/sssd/sssd.conf
|
sudo echo "" | sudo tee /etc/sssd/sssd.conf
|
||||||
echo "$DOMAIN has been left"
|
echo "$DOMAIN has been left"
|
||||||
echo ""
|
|
||||||
linuxclient
|
|
||||||
else
|
else
|
||||||
echo "something went wrong, try to leave manually"
|
echo "something went wrong, try to leave manually"
|
||||||
read -r DOMAIN
|
read -r DOMAIN
|
||||||
@ -896,8 +893,6 @@ read -p "Do you really want to leave the domain: $DOMAIN (y/n)?" yn
|
|||||||
echo ""
|
echo ""
|
||||||
sudo echo "" | sudo tee /etc/sssd/sssd.conf
|
sudo echo "" | sudo tee /etc/sssd/sssd.conf
|
||||||
echo "$DOMAIN has been left"
|
echo "$DOMAIN has been left"
|
||||||
echo ""
|
|
||||||
linuxclient
|
|
||||||
else
|
else
|
||||||
echo "something went wrong"
|
echo "something went wrong"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user