X
Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

Kindly advise how i can export and distribute settings done on "about:config == network.automatic-ntlm-auth.trusted-uris" to all computers in the network. What is the best way to effect this changes on all Machines?

Posted

I want user to access sharepoint on Mozilla without being prompted for credentials instead it should use logged on credentials

Additional System Details

This happened

Every time Firefox opened

This started when...

when accessing a sharepoint site that needs Authentication

Installed Plug-ins

  • Shockwave Flash 11.1 r102
  • iTunes Detector Plug-in
  • Adobe Shockwave for Director Netscape plug-in, version 11.6.4.634
  • 5.0.61118.0
  • The plug-in allows you to open and edit files using Microsoft Office applications
  • Office Authorization plug-in for NPAPI browsers
  • Adobe PDF Plug-In For Firefox and Netscape

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0

More Information

editing configuration

Kadir Topal
  • Administrator
  • Moderator
22 solutions 175 answers

Helpful Reply

Hi Meshackl, there is a very simple way with the distribution.ini file. Mike Kaply describes how to do that here: http://mike.kaply.com/2012/03/26/customizing-firefox-distribution-ini/

cor-el
  • Top 10 Contributor
  • Moderator
10751 solutions 96755 answers

You can also use a mozilla.cfg file in the Firefox program folder to lock prefs or specify default values.

Place a file local-settings.js in the defaults\pref folder where you also find the file channel-prefs.js to specify using mozilla.cfg.

pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0); // use this to disable the byte-shift

See:

You can use these functions in mozilla.cfg:

defaultPref();  // set new default value
pref();         // set pref, but allow changes in current session
lockPref();     // lock pref, disallow changes

Question owner

Hi, i have not succeeded in seeing the distribution.ini file please advise. am not getting it clearly how to even distribute to other machines.

Question owner

Cor-el, Please advise, i cant also seem to get the mozilla.cfg file in the installation folder..

cor-el
  • Top 10 Contributor
  • Moderator
10751 solutions 96755 answers

What did you do so far?

If Firefox finds the "general.config.filename" setting in the local-settings.js file in the defaults\pref folder then you would get an error message if mozilla.cfg can't be found or processed properly.
So if you do not come that far then first check that out.

What is the content of the not obscured mozilla.cfg file?

Question owner

Hi Cor-el, this is the only file in my pref folder channel-prefs.js , is it the one am supposed to export?

C:\Program Files (x86)\Mozilla Firefox\defaults\pref\channel-prefs.js

cor-el
  • Top 10 Contributor
  • Moderator
10751 solutions 96755 answers

No, you need to add another JS file to that folder named local-settings.js (the name doesn't really matter) with the above posted content to make it possible fore Firefox to know that a mozilla.cfg needs to be used.

pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0); // use this to disable the byte-shift and have a plain text file

Question owner

Hi, Thanks for your reply, I appreciate your support. I have created the local-settings.js and pasted this; pref("general.config.filename", "mozilla.cfg"); pref("general.config.obscure_value", 0); // use this to disable the byte-shift

is that all?

cor-el
  • Top 10 Contributor
  • Moderator
10751 solutions 96755 answers

Are you obfuscating the mozilla.cfg file with a ROT13 byte shift?

If you do then you only need the line with the general.config.filename pref (the default for general.config.obscure_value is 13).

See http://kb.mozillazine.org/Locking_preferences