Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Lew4484

macrumors newbie
Original poster
Mar 23, 2011
5
0
Hi all, I was wondering if there was a script available that automatically adds the username and password of a user into the proxy settings of their network account.

We've recently started using NTLM and have found that when a username and password is entered into the Network Settings of System Preferences, reporting works perfectly, but I've not been able to automate this.

I would even settle for a box that prompts the user for their credentials, as long as it saves the settings for next time.

Thankyou in advance.
 

aarond12

macrumors 65816
May 20, 2002
1,148
108
Dallas, TX USA
It looks like this ain't gonna be easy. You'll likely have to write an application or script to do this by hand.

Here is the configuration file you need to work with:
/Library/Preferences/SystemConfiguration/preferences.plist

This file contains the information for proxies, so your application will have to edit this XML file and add the appropriate proxy information into it. (Remember you will likely need administrator privileges to edit this file.) Once that's complete, reboot and the proxy information should be there.

-Aaron-
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.