I can find the commands to change almost any setting except the one to just turn on or off the Auto Proxy Discovery for a network service.
This command will turn on the Automatic Proxy Configuration:
networksetup -setautoproxystate Ethernet on
But I cannot for the life of me find the one that will tick that first check box.
I've found the setting in the plist file for it.
File = /Library/Preferences/SystemConfiguration/preferences.plist
Entry = ProxyAutoDiscoveryEnable
Value = 1
There is a separate setting for each network interface you have enabled under Proxies.
I need to find the actual terminal command in order to script it for use on non-managed machines.
Any help would be greatly appreciated. I also posted this to the MacEnterprise list in case it seems familiar.
Tom
