Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

Deploying Firefox 52 ESR on SCCM - problem with config settings

  • 5 trả lời
  • 2 gặp vấn đề này
  • 37 lượt xem
  • Trả lời mới nhất được viết bởi cor-el

more options

Hello

I'm trying to install firefox for my organisation however I'm having a problem with applying custom settings for a config item in about:config.

I need to set a value for pref("network.automatic-ntlm-auth.trusted-uris", servername);

When adding it to mozilla.cfg firefox refuses to start indicating a bad config file I'm also using local-settings.js, I tried putting it in there and nothing happened. After installation I can add my server name and everything works as expected (no user login box for intranet) The setting is located in a random roaming profile directory called pref.js.

So my question is, how do I successfully create this entry on installation. I read some articles about placing files in particular directories that are then copied to the user folder on first run, here :- https://mike.kaply.com/2013/05/13/more-major-changes-coming-in-firefox-21/

but some of these folders (such as browser\defaults\preferences) don't exist when I check post installation.

Any advice would be gratefully recieved. Many Thanks.

John

Hello I'm trying to install firefox for my organisation however I'm having a problem with applying custom settings for a config item in about:config. I need to set a value for pref("network.automatic-ntlm-auth.trusted-uris", servername); When adding it to mozilla.cfg firefox refuses to start indicating a bad config file I'm also using local-settings.js, I tried putting it in there and nothing happened. After installation I can add my server name and everything works as expected (no user login box for intranet) The setting is located in a random roaming profile directory called pref.js. So my question is, how do I successfully create this entry on installation. I read some articles about placing files in particular directories that are then copied to the user folder on first run, here :- https://mike.kaply.com/2013/05/13/more-major-changes-coming-in-firefox-21/ but some of these folders (such as browser\defaults\preferences) don't exist when I check post installation. Any advice would be gratefully recieved. Many Thanks. John

Giải pháp được chọn

These pref lines need to be in mozilla.cfg. Note that mozilla.cfg needs to start with a comment line (//) since this line will be skipped for security reasons.

mozilla.cfg :

//
pref("network.automatic-ntlm-auth.trusted-uris", "servername");

See also Configuration:

Đọc câu trả lời này trong ngữ cảnh 👍 0

Tất cả các câu trả lời (5)

more options

Did you use quotes around the value of the pref as this is a string pref?

A comma and space delimited list of URLs that are allowed to automatically authenticate via NTLM. (Default: empty string)

more options

cor-el said

Did you use quotes around the value of the pref as this is a string pref? A comma and space delimited list of URLs that are allowed to automatically authenticate via NTLM. (Default: empty string)

Thanks for the response, I did use quotes, following the syntax of the rest of the entries, But I don't recall putting quotes around "servername" specifically, which I'll try - where should I put the setting though? mozilla.cfg ?

more options

Giải pháp được chọn

These pref lines need to be in mozilla.cfg. Note that mozilla.cfg needs to start with a comment line (//) since this line will be skipped for security reasons.

mozilla.cfg :

//
pref("network.automatic-ntlm-auth.trusted-uris", "servername");

See also Configuration:

more options

Yep - that did it, I had everything except the quote for the string value of server name

I'll mark this as solved, thanks for that incdientally, would adding extra names follow the syntax... pref("network.automatic-ntlm-auth.trusted-uris", "servername", "servername2", "servername3");

Many thanks, banged my head against a wall on that one, missed it was a string value. So thanks again.

more options

That won't work with each server name quoted. There only need to be one quoted string with the server names in that string.

pref("network.automatic-ntlm-auth.trusted-uris", "servername, servername2, servername3");