use ldapsearch to query a directory from an unbound Mac
I’ve written about using both dscl and netstat to query a Microsoft Active Directory to see if a Mac is bound to a particular directory, and what domain controller it is authenticated against. These commands work well when the Mac you run them from is bound to the same directory, but what if it is […]
Posted at 3:43 pm on April 14, 2013 | leave a comment | Filed Under: Active Directory, Bash Scripting, Mac/Windows Integration | Tagged: directory account, ldapsearch, netboot image, unbound | read on
use dscl to verify if a Mac is still bound to Active Directory
In my company we use an automated system to generate computer names and image Macs with those names. This type of solution makes it extremely easy to image and deploy new equipment for growth units, for new hires, for training labs, etc. The problem with such an automated solution comes in, however, when one needs […]
Posted at 5:32 pm on March 30, 2013 | leave a comment | Filed Under: Active Directory, Bash Scripting, Mac/Windows Integration | Tagged: -force, dsconfigad, dscp, scutil | read on