[squeak-dev] Re: WebClient with proxy NTLM authentication

Denis Kudriashov dionisiydk at gmail.com
Tue Sep 21 09:28:24 UTC 2010


Hello, I send you log.

*request:*

(WebClientSSP new )
    debugLog: Transcript;
    proxyUser: 'GONDOR\mmuhin';
    proxyPass: '111';
    httpGet: 'http://www.google.com/' .

*Log: *

GET http://www.google.com/ HTTP/1.1
User-Agent: WebClient/1.4 (; Squeak4.1-9957; Win32)
Host: www.google.com

HTTP/1.0 407 Proxy Authentication Required
server: squid/2.6.STABLE21
date: Tue, 21 Sep 2010 08:57:44 GMT
content-type: text/html
content-length: 1289
expires: Tue, 21 Sep 2010 08:57:44 GMT
x-squid-error: ERR_CACHE_ACCESS_DENIED 0
proxy-authenticate: NTLM
x-cache: MISS from cache.gondor.fors
x-cache-lookup: NONE from cache.gondor.fors:3128
via: 1.0 cache.gondor.fors:3128 (squid/2.6.STABLE21)
proxy-connection: close

GET http://www.google.com/ HTTP/1.1
User-Agent: WebClient/1.4 (; Squeak4.1-9957; Win32)
Host: www.google.com
Proxy-Authorization: NTLM
TlRMTVNTUAABAAAAB4IIogAAAAAAAAAAAAAAAAAAAAAFASgKAAAADw==

HTTP/1.0 407 Proxy Authentication Required
server: squid/2.6.STABLE21
date: Tue, 21 Sep 2010 08:57:44 GMT
content-type: text/html
content-length: 1289
expires: Tue, 21 Sep 2010 08:57:44 GMT
x-squid-error: ERR_CACHE_ACCESS_DENIED 0
x-cache: MISS from cache.gondor.fors
x-cache-lookup: NONE from cache.gondor.fors:3128
via: 1.0 cache.gondor.fors:3128 (squid/2.6.STABLE21)
proxy-connection: close


*After that I were requested for login and password (by ui dialogs) and get
response:*

WebResponse(HTTP/1.0 407 Proxy Authentication Required
server: squid/2.6.STABLE21
date: Tue, 21 Sep 2010 08:57:44 GMT
content-type: text/html
content-length: 1289
expires: Tue, 21 Sep 2010 08:57:44 GMT
x-squid-error: ERR_CACHE_ACCESS_DENIED 0
x-cache: MISS from cache.gondor.fors
x-cache-lookup: NONE from cache.gondor.fors:3128
via: 1.0 cache.gondor.fors:3128 (squid/2.6.STABLE21)
proxy-connection: close

)


20 сентября 2010 г. 21:06 пользователь Denis Kudriashov <
dionisiydk at gmail.com> написал:

> Ok, I do this tomorrow
>
> 20 сентября 2010 г. 20:02:39 UTC+4 пользователь Andreas Raab <
> andreas.raab at gmx.de> написал:
>
> Hi Denis -
>>
>> Like I said, it was little tested :-) If you're interested in helping me
>> debug this issue, could you do the following:
>> * Enable the debugLog (i.e., "WebClient debugLog: Transcript")
>> * Shoot off the request
>> * Email me the transcript output
>> Do note that the output may contain sensitive information (i.e., don't try
>> this with your real credentials) but if you could send me the result it
>> should help me find out what's going wrong.
>>
>> Cheers,
>>  - Andreas
>>
>>
>> On 9/20/2010 6:48 AM, Denis Kudriashov wrote:
>>
>>> Hello, Andreas.
>>>
>>> Sorry for late response.
>>>
>>> For me ntlm proxy authorization not work. I try code:
>>>
>>> (WebClientSSP new )
>>>     proxyUser: 'GONDOR\dkudryashov';
>>>     proxyPass: '111';
>>>     httpGet: 'http://www.google.com' .
>>>
>>> My proxy server is squid/2.6.STABLE21.
>>>
>>> After authorization request response stay 407.
>>>
>>> Besides after failed authorization webclient try basic authorization and
>>> request me for user and password. Maybe its wrong behavior too.
>>>
>>>
>>> Anyway thank you for your fastest help. I really surprised :))
>>>
>>> 2010/9/17 Andreas Raab <andreas.raab at gmx.de <mailto:andreas.raab at gmx.de
>>> >>
>>>
>>>    Microsoft SSP
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20100921/2c8bbead/attachment.htm


More information about the Squeak-dev mailing list