=iissbp=pver=5.0pid
=ID=401.2cat=webos=over=hrd=Opt1=Opt2=Opt3=
target=_blankMicrosoft Support/a
/li
/p
/ul
/font/td
/tr
/table
/body
/html
END DOC
END DOC
END DOC
--
Albert Wiersch
AI Internet Solutions
[EMAIL PROTECTED]
http://www.htmlvalidator.com/
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tibor Csonka
Sent: Friday, March 18, 2005 2:03 AM
To: 'ICS support mailing'
Subject: RE: [twsocket] HELP with NTLM authentication
I was compiled with Delphi 7. Nothing special was done regarding NTLM
authentication, however I have a litle bit customized HttpCli.
I think it should work for you too.
About the header log, you can listen on OnHeadersDone or
OnHeaderData events
on HttpCli and log each header.
Also it could be useful if you log OnSessionConnected events
to know when
your HttpCli has initiate a new connection, because NTLM
authentication
works on a connected socket session.
regards
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Albert Wiersch
Sent: Friday, March 18, 2005 1:25 AM
To: 'ICS support mailing'
Subject: RE: [twsocket] HELP with NTLM authentication
Thank you for checking. What compiler did you compile
THttpCli with? Did you
do anything special to get it to work? It still doesn't work for me.
How did you get the headers log? Perhaps I could try to see
what's going on
as well.
When I try it, I get a page back titled You are not
authorized to view this
page. When I switch the server to accepting basic
authentication, it works.
--
Albert Wiersch
AI Internet Solutions
[EMAIL PROTECTED]
http://www.htmlvalidator.com/
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tibor Csonka
Sent: Thursday, March 17, 2005 3:59 PM
To: 'ICS support mailing'
Subject: RE: [twsocket] HELP with NTLM authentication
I could access your site with no problem. Here are the headers log:
Step 1:
GET / HTTP/1.0
Connection: Keep-alive
Host: val.htmlvalidator.com:81
HTTP/1.1 401 Access Denied
Server: Microsoft-IIS/5.1
Date: Thu, 17 Mar 2005 21:57:30 GMT
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
Content-Length: 4431
Content-Type: text/html
Step 2:
GET / HTTP/1.0
Connection: Keep-alive
Host: val.htmlvalidator.com:81
Authorization: NTLM TlRMTVNTUAABB4I=
HTTP/1.1 401 Access Denied
Server: Microsoft-IIS/5.1
Date: Thu, 17 Mar 2005 21:57:32 GMT
WWW-Authenticate: NTLM
TlRMTVNTUAACBAAEADgFgoICHhgRPrzi0v8AACQAJAA8AA
AABQEoCg9a
ADIAAgAEAFoAMgABAAQAWgAyAAQABAB6ADIAAwAEAHoAMgAA
Connection: keep-alive
Content-Length: 4033
Content-Type: text/html
Step 3:
GET / HTTP/1.0
Connection: Keep-alive
Host: val.htmlvalidator.com:81
Authorization: NTLM
TlRMTVNTUAADGAAYAE4YABgAZgBACAAIAEAGAA
YASAAA
BYIAAHQAZQBzAHQAYgBlAGUAD58YyBRwoVZFrYVWYeiTHJ1jHhvc58x3qR
b7IFJ5glQT8jsl
867NwImoBzUHq3kS
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.1
Connection: keep-alive
Content-Location: http://val.htmlvalidator.com:81/index.htm
Date: Thu, 17 Mar 2005 21:57:34 GMT
Content-Type: text/html
Accept-Ranges: bytes
Last-Modified: Thu, 17 Mar 2005 20:09:46 GMT
ETag: b21949442d2bc51:97b
Content-Length: 404
regards
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Albert Wiersch
Sent: Thursday, March 17, 2005 11:13 PM
To: 'ICS support mailing'
Subject: [twsocket] HELP with NTLM authentication
My users have reported problems with NTLM authentication. I
have also never
seen it to work. I am using the latest release version of
ICS. I have
compiled it with BCB 6.
Can someone see if they can access the below URL with
THttpCli? I have not
had any luck. I get an unauthorized page. I've tested it with
IE and Firefox
and it works.
Please try:
http://val.htmlvalidator.com:81/
Username: test
Password: testpw
The page should say Success! The file came through..
If it doesn't work for you either, then is this a bug with the NTLM
authentication? If it does work, do you know why it wouldn't
be working for
me?
Thank you.
--
Albert Wiersch
AI Internet Solutions
[EMAIL PROTECTED]
http://www.htmlvalidator.com/
--
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