[Mono-bugs] [Bug 79590][Wis] New - On second attempt to authenticate with a web server, NTLM authentication fails

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Oct 5 18:05:42 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by egonia at acxiom.com.

http://bugzilla.ximian.com/show_bug.cgi?id=79590

--- shadow/79590	2006-10-05 18:05:41.000000000 -0400
+++ shadow/79590.tmp.16844	2006-10-05 18:05:41.000000000 -0400
@@ -0,0 +1,47 @@
+Bug#: 79590
+Product: Mono: Class Libraries
+Version: 1.0
+OS: GNU/Linux [Other]
+OS Details: Fedora Core 5 - Mono 1.1.17.1
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: egonia at acxiom.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: On second attempt to authenticate with a web server, NTLM authentication fails
+
+Description of Problem:
+On the second time around sending a request to a web server that is only
+allowing NTLM authentication, you receive a 401 unauthorized.
+Mono.Http.NtlmClient does not attempt further authentication.
+
+Steps to reproduce the problem:
+1. Change user id, password, domain, and url in the attached testcase.cs
+2. Compile with mcs testcase.cs
+3. Run mono testcase.exe against a web server that only supports NTLM
+authentication. There is a 30 sec sleep between the two requests that are sent.
+
+Actual Results:
+The first request to the web server is successful, but the second attempt
+fails authentication.
+
+Expected Results:
+Both requests to successfully authenticate and return page contents. I have
+used the attached test case on Microsoft .Net Framework 1.1 successfully.
+Both requests authenticate successfully and return page contents on
+Microsoft .Net Framework 1.1.
+
+How often does this happen? 
+Every time.
+
+Additional Information:
+I have attached two tcpdumps of the http packets between the client and web
+server from Microsoft .Net Framework 1.1 and Mono 1.1.17.1. I have also
+attached a patch that fixes the problem for me, but I don't really know
+what I'm doing with NTLM. It is probably an incorrect fix.


More information about the mono-bugs mailing list