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
19c70674b4
commit
6423bf33e0
@ -1258,7 +1258,7 @@ fi
|
|||||||
}
|
}
|
||||||
|
|
||||||
############################### Reauth ##########################################
|
############################### Reauth ##########################################
|
||||||
leave(){
|
Reauthenticate(){
|
||||||
whoelse=$( who -ut | grep -v old | awk '{print $1}' )
|
whoelse=$( who -ut | grep -v old | awk '{print $1}' )
|
||||||
homeshome=$( sudo realm list | grep domain-name | awk '{print $2}' )
|
homeshome=$( sudo realm list | grep domain-name | awk '{print $2}' )
|
||||||
homes=$( ls /home/$homeshome | head -1 )
|
homes=$( ls /home/$homeshome | head -1 )
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user