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
592cd7d0a7
commit
6cd67a4353
@ -270,7 +270,7 @@ eof
|
||||
|
||||
CentOS(){
|
||||
# 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
|
||||
DOMAIN=$(realm discover | grep -i realm.name | cut -d ':' -f2 | sed -e 's/^[[:space:]]*//')
|
||||
ping -c 1 $DOMAIN
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user