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
91cfb450e4
commit
087e2600a0
@ -124,7 +124,7 @@ sudo systemctl start sssd
|
|||||||
states=$( echo null )
|
states=$( echo null )
|
||||||
states1=$( echo null )
|
states1=$( echo null )
|
||||||
grouPs=$( echo null )
|
grouPs=$( echo null )
|
||||||
homedir=$( echo null )
|
homedir=$( echo 0 )
|
||||||
therealm=$( echo null )
|
therealm=$( echo null )
|
||||||
cauth=$( echo null )
|
cauth=$( echo null )
|
||||||
clear
|
clear
|
||||||
@ -182,7 +182,7 @@ fi;;
|
|||||||
states=$( echo 12 );;
|
states=$( echo 12 );;
|
||||||
* ) echo 'Please answer yes or no.';;
|
* ) echo 'Please answer yes or no.';;
|
||||||
esac
|
esac
|
||||||
homedir=$(cat /etc/pam.d/common-session | grep homedir | grep 0022 | cut -d '=' -f3)
|
homedir=$( cat /etc/pam.d/common-session | grep homedir | grep 0022 | cut -d '=' -f3 )
|
||||||
if [ $homedir = 0022 ]
|
if [ $homedir = 0022 ]
|
||||||
then
|
then
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user