To graphically join the domain
From this dialog you can also specify a number of optional join arguments before continuing with the join operation. For example, you can specify a specific Active Directory container in which you want to create the new computer object. (By default it is created in the Computers Container). For a detailed explanation of each join option, see the vastool man page located in the docs directory of the installation media.
The join operation may take several seconds, to several minutes depending upon your domain configuration. Domain Join progress is continuously updated as progress proceeds.
To leave the Active Directory Domain, repeat the join steps, except click Leave Domain instead. You do not have to supply Active Directory credentials when unjoining if you do not delete the Active Directory computer object. This option is available in the Leave Domain dialog options.
Use the vastool utility to perform a command line join.
At the command line, enter vastool join to join the Mac OS X system to an Active Directory domain.
You can access the same functionality that is available through the Authentication Services Directory Utility Plugin through the Authentication Services command line utilities.
There are two ways to join your Mac OS X system to an Active Directory domain:
Run the vasjoin.sh script.
$ sudo /opt/quest/libexec/vas/scripts/vasjoin.sh
This script prompts you for information needed to perform the join operation without requiring you to know the syntax of the vastool join command.
Run the vastool join command.
$ sudo /opt/quest/bin/vastool -u Administrator join -f example.com
To leave an Active Directory Domain from a Terminal session, use the vastool unjoin command.
Note: See the vastool man page located in the docs directory of the installation media for more information about the vastool join or vastool unjoin commands.