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
0a18bde352
commit
f6809a83a4
@ -1030,20 +1030,20 @@ fi
|
|||||||
|
|
||||||
############################### Reauth ##########################################
|
############################### Reauth ##########################################
|
||||||
|
|
||||||
Reauthenticate(){
|
#Reauthenticate(){
|
||||||
realmad=$(sudo cat /etc/sssd/sssd.conf | grep -i domain | grep -i ad | awk '{print $3}' )
|
#realmad=$(sudo cat /etc/sssd/sssd.conf | grep -i domain | grep -i ad | awk '{print $3}')
|
||||||
read -p "Do you wish to keep previous cnfiguration (y/n)?" yn
|
#read -p "Do you wish to keep previous cnfiguration (y/n)?" yn
|
||||||
case $yn in
|
# case $yn in
|
||||||
[Yy]* )
|
# [Yy]* )
|
||||||
#sudo realm leave $realmad
|
# #sudo realm leave $realmad
|
||||||
#do simple aut without conf
|
# #do simple aut without conf
|
||||||
;;
|
# ;;
|
||||||
[Nn]* )
|
# [Nn]* )
|
||||||
sudo realm leave $realmad
|
# sudo realm leave $realmad
|
||||||
ubuntuclient
|
# ubuntuclient
|
||||||
;;
|
# ;;
|
||||||
esac
|
# esac
|
||||||
}
|
#}
|
||||||
|
|
||||||
########################################### info #######################################
|
########################################### info #######################################
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user