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
c796c1c020
commit
81e0ad7d85
2
MacOS.sh
2
MacOS.sh
@ -9,7 +9,7 @@ exit
|
|||||||
DOMAIN=$(test.com) ## Domain
|
DOMAIN=$(test.com) ## Domain
|
||||||
admin=$(admin) ## AD admin //Note this user can med active directory admin or a user with permission to join domain.
|
admin=$(admin) ## AD admin //Note this user can med active directory admin or a user with permission to join domain.
|
||||||
pass=$(password) ## AD admin pass //Note this row is NOT encrypted, coution using this, password might be stored in logs.
|
pass=$(password) ## AD admin pass //Note this row is NOT encrypted, coution using this, password might be stored in logs.
|
||||||
adgroup=$(whatevergroup) ## this is to give admin privileges to a group in the active directory ex: MacAdmins
|
adgroup=$(whatevergroup) ## this is to give admin privileges to a group in the active directory ex: MacAdmins
|
||||||
ADcomputer=$(MACagent01 ) ## desired computer object name ( this will only be the name of the computer object in Active Directory, hostname is still the same as default)
|
ADcomputer=$(MACagent01 ) ## desired computer object name ( this will only be the name of the computer object in Active Directory, hostname is still the same as default)
|
||||||
OU=$(OU=Computers Mac,DC=domain,DC=com) ## desired OU were the computer object is created
|
OU=$(OU=Computers Mac,DC=domain,DC=com) ## desired OU were the computer object is created
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user