[Pidgin] #1380: Let choice NTLM or BASIC authentication for proxy

Pidgin trac at pidgin.im
Tue May 29 11:10:27 EDT 2007


#1380: Let choice NTLM or BASIC authentication for proxy
-----------------------+----------------------------------------------------
 Reporter:  ariolim    |       Type:  defect
   Status:  new        |   Priority:  minor 
Component:  libpurple  |    Version:  2.0.1 
 Keywords:  MSN,proxy  |    Pending:  0     
-----------------------+----------------------------------------------------
 I'm referring to proxy.c
 I use MSN protocol via proxy and this version of pidgin, in my situation,
 gives a proxy error,
 while gaim v1.5 doesn't. So I take a look at the source and note
 that gaim uses Basic authentication while pidgin uses NTLM authentication.

 So I change the source in proxy.c at line 843, trying to comment out and
 adding as follows:
 ==================================================================================
 /*              g_string_append_printf(request,
                         "Proxy-Authorization: Basic %s\r\n"
                         "Proxy-Authorization: NTLM %s\r\n"
                         "Proxy-Connection: Keep-Alive\r\n",
                         t2, purple_ntlm_gen_type1(
 purple_proxy_info_get_host(connect_data->gpi), ""));
 */
                 g_string_append_printf(request,
                         "Proxy-Authorization: Basic %s\r\n",
                         t2);
 ==================================================================
 It works for me, hope this is well written.

 It would be very nice to let the user decide in ./configure whether to use
 NTLM or BASIC authentication for proxy.


 Regards,
 Marco Arioli

-- 
Ticket URL: <http://developer.pidgin.im/ticket/1380>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list