Posted on 12-27-2013 03:51 AM
Hi Guys,
I wish to connect Active directory server / domain via terminal for mac .
Can anyone help for commands to connect Active directory through terminal .
Regards
Sushanth Gopinath
Posted on 12-27-2013 08:08 AM
Provided that the computer in question has already been added to your JSS, and the user account signed in is a domain account, you can use this - keep in mind, make sure the computer you're joining is connected to your company's network at the time.
sudo jamf policy -trigger bindforce
Posted on 12-30-2013 07:23 AM
If you are asking how to do it with the CLI (to use in a script, for example), look up the man page for dsconfigad.
Posted on 12-30-2013 08:04 AM
I have a post that includes information on how to bind to AD using dsconfigad. It's available here:
http://derflounder.wordpress.com/2012/03/29/diagnosing-ad-binding-problems-from-the-command-line/