mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 08:50:12 +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 )
|
||||
states1=$( echo null )
|
||||
grouPs=$( echo null )
|
||||
homedir=$( echo null )
|
||||
homedir=$( echo 0 )
|
||||
therealm=$( echo null )
|
||||
cauth=$( echo null )
|
||||
clear
|
||||
@ -182,7 +182,7 @@ fi;;
|
||||
states=$( echo 12 );;
|
||||
* ) echo 'Please answer yes or no.';;
|
||||
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 ]
|
||||
then
|
||||
echo ""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user