From d3d97a5ce4642064a34a6c66766f7bc13bc9a289 Mon Sep 17 00:00:00 2001 From: PierreGode Date: Tue, 25 Sep 2018 13:49:29 +0200 Subject: [PATCH] MacOS join to AD example --- MacOS.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/MacOS.sh b/MacOS.sh index d9cc39d..e2b113b 100644 --- a/MacOS.sh +++ b/MacOS.sh @@ -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