Update ADconnection.sh

This commit is contained in:
PierreGode 2018-08-24 10:25:55 +02:00 committed by GitHub
parent 19c70674b4
commit 6423bf33e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 )