The default bug view has changed. See this FAQ.

HTTP Authentication doesn't work when typed in request line

VERIFIED DUPLICATE of bug 23679

Status

()

Core
Networking: HTTP
VERIFIED DUPLICATE of bug 23679
15 years ago
15 years ago

People

(Reporter: Safari Shane, Assigned: Darin Fisher)

Tracking

Trunk
x86
Windows 2000
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

15 years ago
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530
BuildID:    2002053012

Typing http://user:pass@somewhere.com should get you logged into IIS servers
requiring basic authentication.  And it does with other browsers.  
Also, when going to a page that requires authentication, no dialog ever comes up
to let you type it in.  Your immeditaly presented with the 401, instead of the
agent resending the request after gather the appropriate authentication information.

Reproducible: Always
Steps to Reproduce:
1.Find a server that needs authentication (not necessarily SSL)
2.Notice you can login just fine with IE
3.Find out that you can't with mozilla

Actual Results:  http 401

Expected Results:  200

Comment 1

15 years ago
-> http
Assignee: new-network-bugs → darin
Component: Networking → Networking: HTTP
QA Contact: benc → tever
(Assignee)

Comment 2

15 years ago
benc, tever: can you reproduce this in-house?  thx!!

Comment 3

15 years ago
works for me with apache server

working on setting up an IIS server with basic auth
(Reporter)

Comment 4

15 years ago
hmmm...  you may need to try it with a domain reference in the http request as 
well.  The servers I tried with all require domain login, and work fine in IE 
but not mozilla.  (of course, this means iis)

Comment 5

15 years ago
ok I will look into that, using an internal IIS server I get the message:

"HTTP Error 401

401.2 Unauthorized: Logon Failed due to server configuration

This error indicates that the credentials passed to the server do not match the
credentials required to log on to the server. This is usually caused by not
sending the proper WWW-Authenticate header field."

works fine with IE.  Will attach a packet trace shortly.





Status: UNCONFIRMED → NEW
Ever confirmed: true

Comment 6

15 years ago
Tever: can you add the login/passwd info here to the internal server so that we
could debug this? thx.

Comment 7

15 years ago
http://appman.nscp.aoltw.net/test

user : qaguest
pass : qaguest

Comment 8

15 years ago
ok, it appears as though the server was not configured for basic authentication. 
According to the server owner, there are 3 choices in the IIS setup for 
authentication methods - 1) allow anonymous  2) basic  3) win nt challenger.  
Basic auth has since been applied and now this works for me.  NS 4.79 also did 
not work until basic was applied.

I tested using the http://username:password@www.anyserver.com format on winNT4, 
linux rh6, and mac osX and they are all working.   Server: Microsoft-IIS/4.0

Safari, do you know if the server you are using is set up for basic auth?
(Reporter)

Comment 9

15 years ago
The server is setup for integrated windows authentication.  I guess I should be 
reporting this bug to microsoft ie instead of you guys then, huh?  Looks like 
your right, there wrong.
Mozilla doesn't support NTLM at the moment.

dupe of bug 23679


*** This bug has been marked as a duplicate of 23679 ***
Status: NEW → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → DUPLICATE

Comment 11

15 years ago
verified duplicate
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.