MacOS join to AD example

This commit is contained in:
PierreGode 2018-09-25 13:49:29 +02:00 committed by GitHub
parent 00020bf368
commit d3d97a5ce4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,3 +12,4 @@ ADcomputer=$() ## desired computer object name ( this will only be the
OU=$() ## desired OU were the computer object is created
sudo dsconfigad -add $DOMAIN -mobile enable -mobileconfirm disable -localhome enable -protocol smb -shell '/bin/bash' -username $admin -password $pass -groups $adgroup -computer $ADcomputer -ou $OU
sudo dsconfig -show