Does Firefox support wildcards in NTLM / Negotiate URI's for autologin?
Solution 1
Just to expand on redbeard0x0a's answer, it seems that it's matching based on the end of the string, not a sub string. So, if you have a company domain like "mycompany.com" with servers like svn.mycompany.com, sharepoint.mycompany.com, mail.mycompany.com, you could modify the network.automatic-ntlm-auth.trusted-uris
within about:config to:
svn.mycompany.com,sharepoint.mycompany.com,mail.mycompany.com
or just include them all and any other internal servers by doing:
mycompany.com
Solution 2
I don't know if I understand the question correctly, but I'm thinking you are trying to use a wildcard in the network.authentication-ntlm-auth.trusted-uris inside firefox's config.
I think everything is matched on a sub-string (internally it seems to work like *example.local*
, so having the domain example.local
you would put example.local
in the configuration, for example: localhost,fileserver,example.local
.
If you end up having a url of http://server1.example.local/
, it should trigger the example.local
entry for trusted-uris and seamlessly send over NTLM authentication.
Related videos on Youtube
Sam
Christian, Musician, Geek Web and .NET developer, SQL Server dba, Windows sysadmin in a financial applications group since 2003. Prior to this position I was in IT for 8.5 years with the same company. Major interests in computing include software architecture, enterprise systems architecture, UI design, programming languages, and security. I love God, love my wife and kids, love computers, love my job, love playing and writing music. squillman = Shawn Quillman
Updated on September 17, 2022Comments
-
Sam over 1 year
Following this question about Windows Domain Authentication with Firefox, does FF support using wildcards in the URI's? I'm not finding anything where it mentions support either way.
-
Christoph Rüegg almost 15 yearsHave you tried it?
-
Sam almost 15 yearsYes, I have....
-
Christoph Rüegg almost 15 yearsSo that means it doesn't work then? Or does it?
-
Sam almost 15 yearsSorry, thought that would be clear since I'm asking. No, my efforts didn't work. I was looking around to find out if FF just simply does not support it or if maybe my wildcard syntax was just wrong.
-
Matthew Flaschen almost 13 yearsI was interested in this because I wanted to support any port on localhost. As it turns out, just
http://localhost
works fine.
-
-
David Roussel about 14 yearsNote that you need at least on dot for it to be a wildcard. So if you can host1.hr.europe.company1. Then company1 will not work, you need to put europe.company1. I guess if there is no dot firefox assumes it's a hostname not a domain name.
-
davenpcj over 13 yearsI think you'll want to use ".mycompany.com", leaving that leading dot out would match "notmycompany.com".
-
user1584103 over 13 years@David @davenpcj I wish I could use example.*, i.e. example.com, example.net, etc
-
m-smith almost 8 yearsJust to add to this, I found that
mycompany.com
had to be at the end of the list if I had any more specific entries. For examplehttp://localhost,.mycompany.com
worked, but.mycompany.com,http://localhost
did not work. Mine is now working fine, but I hope this helps someone.