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
592cd7d0a7
commit
6cd67a4353
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user