Skip to main content
Jamf Nation, hosted by Jamf, is the largest Apple IT management community in the world. Dialog with your fellow IT professionals, gain insight about Apple device deployments, share best practices and bounce ideas off each other. Join the conversation.
Posted: by jake
Product: Mac OS X
Downloads: 912


sudo <mountPoint> <computerName> <currentUsername> <domain>

<dirAdminUsername> <dirAdminPassword> <groups>


This script will add a Computer that exists in an Open Directory server to an Open Directory computer group or computer list. The script assumes that the computer group has previously been bound using a "Secure Bind" to the OD server. Multiple groups can be specified for the "groups" array found below in the variable section. Example values for the groups hard-coding the groups array are: groups=( 'group1' ) groups=( 'group1' 'group2' ) Example values for passing the groups parameter by Casper Remote or a Policy: group1 group2


Generating Preview...