Update ADconnection.sh

This commit is contained in:
PierreGoude 2017-05-23 12:54:21 +02:00 committed by GitHub
parent 6cd67a4353
commit 20f9b8a81f

View File

@ -270,7 +270,7 @@ eof
CentOS(){
# Not ready
yum -y install realmd sssd oddjob oddjob-mkhomedir adcli samba-common-tools
yum -y install realmd sssd oddjob oddjob-mkhomedir adcli samba-common-tools samba-common
sleep 1
DOMAIN=$(realm discover | grep -i realm.name | cut -d ':' -f2 | sed -e 's/^[[:space:]]*//')
ping -c 1 $DOMAIN