[Mono-bugs] [Bug 73681][Nor] Changed - Problem with HTTPWebRequest Basic authentication and POST

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 17 Mar 2005 04:47:28 -0500 (EST)


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 informatique.internet@fiducial.fr.

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

--- shadow/73681	2005-03-16 15:29:37.000000000 -0500
+++ shadow/73681.tmp.20333	2005-03-17 04:47:28.000000000 -0500
@@ -125,6 +125,56 @@
 InternalAuthenticate, but that's all i can do blindly.
 
 Can you run this with mono --debug and give me the line number in
 which the nullref happens?
 
 If you're using svn, please update mcs/class/System
+
+------- Additional Comments From informatique.internet@fiducial.fr  2005-03-17 04:47 -------
+I've update and seen the modification you've made on basicclient.cs...
+I've always the same error, i've put MonoDebug True in my apache conf,
+and i obtain :
+
+System.NullReferenceException: Object reference not set to an instance
+of an object
+in <0x00109> System.Net.BasicClient:InternalAuthenticate
+(System.Net.WebRequest webRequest, ICredentials credentials)
+in <0x0005c> System.Net.BasicClient:Authenticate (System.String
+challenge, System.Net.WebRequest webRequest, ICredentials credentials)
+in <0x0011e> System.Net.AuthenticationManager:DoAuthenticate
+(System.String challenge, System.Net.WebRequest request, ICredentials
+credentials)
+in <0x00026> System.Net.AuthenticationManager:Authenticate
+(System.String challenge, System.Net.WebRequest request, ICredentials
+credentials)
+in <0x00104> System.Net.HttpWebRequest:CheckAuthorization
+(System.Net.WebResponse response, HttpStatusCode code)
+in (wrapper remoting-invoke-with-check)
+System.Net.HttpWebRequest:CheckAuthorization
+(System.Net.WebResponse,System.Net.HttpStatusCode)
+in <0x000da> System.Net.HttpWebRequest:CheckFinalStatus
+(System.Net.WebAsyncResult result)
+in (wrapper remoting-invoke-with-check)
+System.Net.HttpWebRequest:CheckFinalStatus (System.Net.WebAsyncResult)
+in <0x000f2> System.Net.HttpWebRequest:EndGetResponse (IAsyncResult
+asyncResult)
+in <0x0005f> System.Net.HttpWebRequest:GetResponse ()
+in [0x00026] (at
+/home/hubert/mono/mcs/class/System.Web.Services/System.Web.Services.Protocols/WebClientProtocol.cs:179)
+System.Web.Services.Protocols.WebClientProtocol:GetWebResponse
+(System.Net.WebRequest request)
+in [0x00002] (at
+/home/hubert/mono/mcs/class/System.Web.Services/System.Web.Services.Protocols/HttpWebClientProtocol.cs:167)
+System.Web.Services.Protocols.HttpWebClientProtocol:GetWebResponse
+(System.Net.WebRequest request)
+in [0x0007b] (at
+/home/hubert/mono/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapHttpClientProtocol.cs:324)
+System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke
+(System.String method_name, System.Object[] parameters)
+in <0x00087> FicheClient.ADServices.ADWS:GetIdentity (System.String
+logon, System.String password, System.String domaine, Boolean
+RecursiveRoles, System.Double executeTime)
+in (wrapper remoting-invoke-with-check)
+FicheClient.ADServices.ADWS:GetIdentity
+(string,string,string,bool,double&)
+
+