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
a29cc8235b
commit
f3fcf914a0
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 dscontertsyfigad -add "$DOMAIN" \
|
||||
-mobile enable \
|
||||
-mobileconfirm disable \
|
||||
-localhome enable \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user