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.

addToODComputerGroup.sh -- Adds a computer to an Open Directory Computer Group

Synopsis

sudo addToODComputerGroup.sh
sudo addToODComputerGroup.sh <mountPoint> <computerName> <currentUsername> <domain>

<dirAdminUsername> <dirAdminPassword> <groups>

Description

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

Download

Preview

Generating Preview...

583 Downloads
Uploaded: 11/5/11 at 7:49 PM by jake
Product: Mac OS X