Update ADconnection.sh

This commit is contained in:
PierreGoude 2017-05-23 12:48:43 +02:00 committed by GitHub
parent 592cd7d0a7
commit 6cd67a4353

View File

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