I think I solved the mystery. The problem seems to be with (PrefConfig)
directive.
I have simplified my vendor.cfg, and autoconfig.jsc (which is a CGI output in
our environment) and it seems to be working now.
I'd appreciate if people can try this and report the results.
----- vendor.jsc --- below should be hashed using moz-byteshift.pl and saved
as vendor.cfg under mozilla home------------
lockPref("general.config.vendor", "vendor");
lockPref("autoadmin.global_config_url","http://server/mcontrol/mconfig.cgi");
lockPref("autoadmin.append_emailaddr",true);
-------------
------ all.js should have the following : ------
pref("general.config.filename", "vendor.cfg");
pref("general.config.vendor", "vendor");
---------------------------------------------------
---------- Output of the mconfig.cgi should generate something like this ------
Content-type: application/x-javascript-config
I think I solved the mystery. The problem seems to be with (PrefConfig)
directive.
I have simplified my vendor.cfg, and autoconfig.jsc (which is a CGI output in
our environment) and it seems to be working now.
I'd appreciate if people can try this and report the results.
----- vendor.jsc --- below should be hashed using moz-byteshift.pl and saved "general. config. vendor" , "vendor"); "autoadmin. global_ config_ url","http:// server/ mcontrol/ mconfig. cgi"); "autoadmin. append_ emailaddr" ,true); config. filename" , "vendor.cfg"); config. vendor" , "vendor"); ------- ------- ------- ------- ------- ------- --
as vendor.cfg under mozilla home------------
lockPref(
lockPref(
lockPref(
-------------
------ all.js should have the following : ------
pref("general.
pref("general.
-------
---------- Output of the mconfig.cgi should generate something like this ------ x-javascript- config
Content-type: application/
defaultPref( "browser. search. defaultengine" , "engine: //C%3A% 5CProgram% 20Files% 5Cbin%5Csearchp lugins% 5Cgoogle. src"); "browser. search. opensidebarsear chpanel" , false); "browser. startup. homepage" , "http:// www.google. com"); "startup. homepage_ override_ url", "http:// www.google. com"); "browser. startup. homepage_ override" , true); "editor. author" , "Your Name"); ------- ------- ------- ------- -------
5Cmozilla%
defaultPref(
lockPref(
lockPref(
lockPref(
lockPref(
-------
Whatever you choose as the vendor, filename should agree with that. (e.g.: x,
x.cfg )
Right now I am able to change homepages etc by pushing the config from the
server. This also works with FireBird. Haven't tested thunderbird yet.