Fastream Technologies wrote:
> C and Pascal are close relatives and the code is not complex since
> you know the Pascal-correspondent. I know you are a busy coder but
> please give high priority for this. I really do not see where the C++
> conversion mistake is. It simply does not ask for NTLM-domain
> information!! 

I looked at your source (which is hard to read since there are no
indentations), but cannot find the error.
Obviously you override the two most important routines,
THttpConnection.AuthCheckAuthenticated as well as 
THttpConnection.Answer401 and also use a slightly different
logic.

Debug by setting the apropriate break points and single step
thru the code.
The difference of NTLM compared to the other auth-methods
is that it needs one more step in the sequence, means the
server must always send a 401 response containing the
NTLM message 2.
Also helpfull is logging the traffic with ethereal.  

 
> Regards,
> 
> SZ
> 
> ----- Original Message -----
> From: "Arno Garrels" <[EMAIL PROTECTED]>
> To: "ICS support mailing" <twsocket@elists.org>
> Sent: Wednesday, September 13, 2006 12:09 PM
> Subject: Re: [twsocket] Fw: Urgent (Another simple NTLM question)
> 
> 
>> Fastream Technologies wrote:
>>> Please reply my private messages as well.
>> 
>> This is plenty of C code, and I have to do my work as well!
>> I'll take a look at it later.
>> 
>>> 
>>> Thanks,
>>> 
>>> SZ
>>> 
>>> ----- Original Message -----
>>> From: "Arno Garrels" <[EMAIL PROTECTED]>
>>> To: "ICS support mailing" <twsocket@elists.org>
>>> Sent: Wednesday, September 13, 2006 12:01 PM
>>> Subject: Re: [twsocket] Fw: Urgent (Another simple NTLM question)
>>> 
>>> 
>>>> Fastream Technologies wrote:
>>>>> ----- Original Message -----
>>>>> From: "Arno Garrels" <[EMAIL PROTECTED]>
>>>>> To: "ICS support mailing" <twsocket@elists.org>
>>>>> Sent: Wednesday, September 13, 2006 11:29 AM
>>>>> Subject: Re: [twsocket] Fw: Urgent (Another simple NTLM question)
>>>>> 
>>>>> 
>>>>>> Fastream Technologies wrote:
>>>>>>> It does not ask for domain then!
>>>>>> 
>>>>>> BTW: Not all browsers provide a domain field in their
>>>>>> auth-dialog!
>>>>> 
>>>>> I tried with both Firefox and IE6XP.
>>>> 
>>>> Try the demo, it works!
>>>> 
>>>>>>> I thought this would look like a NT-
>>>>>>> log on screen!! How does it understand which NTLM-domain to log
>>>>>>> in??
>>>>>> 
>>>>>> ??
>>>>> 
>>>>> When there is NO domain edit box, and when the user name does NOT
>>>>> include a domain name, how does it understand the domain name????
>>>> 
>>>> If the browser does not send a domain SSPI uses the default logon
>>>> authority, this may be either the local computer or the domain
>>>> where the computer is a member. How it works exactely under the
>>>> hood, is unknown to me.
>>>> 
>>>> 
>>>>> 
>>>>>> 
>>>>>>> Regards,
>>>>>>> 
>>>>>>> SZ
>>>>>>> 
>>>>>>> ----- Original Message -----
>>>>>>> From: "Arno Garrels" <[EMAIL PROTECTED]>
>>>>>>> To: "ICS support mailing" <twsocket@elists.org>
>>>>>>> Sent: Wednesday, September 13, 2006 11:20 AM
>>>>>>> Subject: [twsocket] Fw: Urgent (Another simple NTLM question)
>>>>>>> 
>>>>>>> 
>>>>>>>> Fastream Technologies wrote:
>>>>>>>>> I have another problem: it never authenticates! Never lets
>>>>>>>>> in! I wrote,
>>>>>>>>> 
>>>>>>>>> localhost\User (a windows user)
>>>>>>>>> and my password but it does not work!
>>>>>>>> 
>>>>>>>> Do not include host/domain in the username!
>>>>>>>> 
>>>>>>>> ---
>>>>>>>> Arno Garrels [TeamICS]
>>>>>>>> http://www.overbyte.be/eng/overbyte/teamics.html
>>>>>>>> 
>>>>>>>> --
>>>>>>>> To unsubscribe or change your settings for TWSocket mailing
>>>>>>>> list please goto
>>>>>>>> http://www.elists.org/mailman/listinfo/twsocket Visit our
>>>>>>>> website at http://www.overbyte.be 
>>>>>> --
>>>>>> To unsubscribe or change your settings for TWSocket mailing list
>>>>>> please goto http://www.elists.org/mailman/listinfo/twsocket
>>>>>> Visit our website at http://www.overbyte.be
>>>> --
>>>> To unsubscribe or change your settings for TWSocket mailing list
>>>> please goto http://www.elists.org/mailman/listinfo/twsocket
>>>> Visit our website at http://www.overbyte.be
>> --
>> To unsubscribe or change your settings for TWSocket mailing list
>> please goto http://www.elists.org/mailman/listinfo/twsocket
>> Visit our website at http://www.overbyte.be
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to