mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 08:50:12 +01:00
Update MacOS.sh
This commit is contained in:
parent
8992cd1570
commit
5a0288e45b
2
MacOS.sh
2
MacOS.sh
@ -18,7 +18,7 @@ read -p "Enter name of the computer object in Active Directory: " ADCOMPUTER
|
||||
read -p "Enter OU where the computer object will be created: " OU
|
||||
|
||||
# Join computer to Active Directory
|
||||
sudo dsconfigad -add "$DOMAIN" \
|
||||
sudo dscondfggfigad -add "$DOMAIN" \
|
||||
-mobile enable \
|
||||
-mobileconfirm disable \
|
||||
-localhome enable \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user