CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Eric Wise

Business & .NET

Note to self: Firefox Windows Authentication

To enable windows authentication on your domain.

1. Open Firefox

2. Navigate to the url about:config

3. Locate the following preference names and put as the value the comma separated values of the address roots.

network.automatic-ntlm-auth.trusted-uris

network.negotiate-auth.delegation-uris

network.negotiate-auth.trusted-uris

Your value should look something like this: localhost,server1,server2,serverX


Published Nov 16 2006, 07:59 AM by Eric Wise
Filed under:

Comments

ben reichelt said:

nice, this was stopping me from accessing our sharepoint sites in firefox, I hated typing my password in all the time, thanks!

# November 16, 2006 9:56 AM

ExplosiveDog.Com said:

Eric Wise just posted an excellent tip to force Firefox to use Windows Authentication. I always had just

# November 16, 2006 11:51 AM

Dave Donaldson said:

Nice. This will definitely come in handy.

# November 16, 2006 4:23 PM

Christopher Steen said:

GetFirebug: 1.0 is getting close [Via: Dion Almaer ] Microsoft 2007 Office System downloads (including...

# November 16, 2006 10:40 PM

Dave Blair said:

This is good - I don't need to key in the userid/password.

But I don't get the context menu dropdown on the documents like I do in Microsoft Internet Explorer.

The one that says, for example, on an MS Word doc:  View Properties, Edit Properties, Edit in Microsoft Word, Delete, Checkout , Version History, Alert Me, Discuss, Create Document Workspace

# December 6, 2006 9:56 AM

Matthieu said:

EXCELLENT POST! Thanks:-)

# December 7, 2006 8:46 AM

sande said:

I changed my preferences as described, but I'm still receiving an 'Authentication Required' popup which says 'Enter username and password for "" at http://localhost' .  If I do try to manually enter my username and password, the popup just redisplays with a blank username and password.

I'm using firefox ver 2.0.0.3 and VS 2005.  I do not have this problem with IE.  

Any ideas?

# March 21, 2007 1:48 PM

Delon said:

I've tried it. Also

set network.autodial-helper.enabled to false

Delon

# March 28, 2007 4:41 AM

Wayne said:

Sande said, "I changed my preferences as described, but I'm still receiving an 'Authentication Required' popup which says 'Enter username and password for "" at http://localhost' .  If I do try to manually enter my username and password, the popup just redisplays with a blank username and password.

I'm using firefox ver 2.0.0.3 and VS 2005.  I do not have this problem with IE. "

Sande, this morning I started getting the same popup screen, when I use the Blogger system. I'm using the same  version of Firefox. But I have an older version on my laptop and the popup has just started there also. I find it very annoying, esp. because even when I type in my username and password, it acts like I haven't and keeps popping back up.

# April 26, 2007 2:26 PM

James said:

Same here! It's happening across our enterprise. The problem exists in FF 2.0.0.4 even.  It's like it's not even sending the authentication credentials. ::PULLS HAIR OUT::

# June 4, 2007 4:17 PM

AJ said:

Same problem! It's driving me nuts and there is nothing I can do about it!?

That said IE seems to be suffering from the same problem, it must be something else, but I'm nowhere near enough tech literate to figure it out.

# June 9, 2007 5:57 AM

Ganesh said:

If anybody suffers still: you need to try ONLY this in about: config.

  network.auth.use-sspi  -> false   {default : true }

This is tested for killing the dialog box that occurs behind a ISA proxy, for Internet addresses. For intranet/NTLM you can add the server names as suggested or just try a '*'.

Warning ! just sharing a quick-fix. Evaluate security implications...

# July 1, 2007 6:47 AM

Alistair said:

Thanks!

# August 15, 2007 8:57 AM

Googli said:

Worked great!  Thank you for the post. (Firefox v 2.0.0.9)

# November 16, 2007 8:25 AM

Tanny O'Haley said:

At the company I work at the domain part isn't used. I've changed the names to protect the company.

coweb.company.net and coweb are the same. If I type http://coweb or">http://coweb or http://coweb.company.net">http://coweb.company.net in IE it will auto authenticate.

If I add .company.net to the list of urls and Firefox will authenticate if I type in http://coweb.company.net">http://coweb.company.net.

If I add http://coweb,.company.net">http://coweb,.company.net to the list, Firefox will authenticate if I type in coweb.company.net, but not for http://coweb.

I wouldn't mind using http://coweb.company.net">http://coweb.company.net but some people fully qualify their links instead of using relative urls. In that case I might go to http://coweb.company.net">http://coweb.company.net/site/default.aspx and Firefox authenticates me but the page will often contain a fully qualified url like http://coweb/site/about.aspx. When I click on the fully qualified url I get the request to authenticate which then never authenticates and keeps returning a blank authentication dialog box.

Does anyone have an idea of how to make this work in Firefox for http://coweb without the domain name?

# November 30, 2007 6:00 PM

Jamil said:

excellent information - so easy to find and to execute - many thanks

# December 4, 2007 2:24 PM

sait said:

excellent information

# December 13, 2007 11:29 PM

chris said:

PERFECT!  Thanks very much!

# December 22, 2007 11:27 AM

Saurabh Saxena (Bangalore) said:

Beautiful; It works !!  I did only the step 3 and restarted FF2.0.0.12 ;;  It worked fine.

-Saurabh

# February 27, 2008 12:52 AM

whall said:

Thanx much - this was very helpful.

# March 31, 2008 10:12 AM

Tomas said:

Thank you for the tip - works really well.

# April 7, 2008 5:27 AM

Tara said:

This has to be the best Firefox tip I've ever come across.  You are my hero!  This makes using Firefox at work so much easier!

# May 26, 2008 4:26 PM

Jaro said:

Thanx - very usefull tip !!

# June 23, 2008 3:10 AM

Leave a Comment

(required)  
(optional)
(required)  

Enter the numbers above:
Add
Check out Devlicio.us!