Posted on 12-01-2015 09:46 AM
Hi All
As above, does anybody know of a way I can remotely uncheck the above option on our macs?
Its in the AD bind section, they are all bound to our AD but i would like to uncheck this without going to every machine to do so.
Thank you
Bill
Solved! Go to Solution.
Posted on 12-01-2015 09:59 AM
sudo dsconfigad -alldomains disable
But, if you push it from Casper, drop the sudo as it won't be needed.
You should read through the man page for dsconfigad as well to get familiar with everything it can do.
man dsconfigad
Posted on 12-02-2015 05:36 AM
@billystanton, the -preferred [server] command in dsconfigad is for setting a preferred domain controller
Posted on 12-01-2015 09:59 AM
sudo dsconfigad -alldomains disable
But, if you push it from Casper, drop the sudo as it won't be needed.
You should read through the man page for dsconfigad as well to get familiar with everything it can do.
man dsconfigad
Posted on 12-01-2015 10:42 AM
Not sure if it's still the case but you may need to change the search domains as well. They'll be pointing to all domains otherwise.
Posted on 12-02-2015 01:53 AM
Is that the "Prefer this domain server" option?
Thanks!
Posted on 12-02-2015 05:36 AM
@billystanton, the -preferred [server] command in dsconfigad is for setting a preferred domain controller