🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #451

Re: TIdHTTP and Windows Authentication

#451
From: Aladin J.
Date: Wed, 13 Feb 2008 21:48
48 lines
2937 bytes
I try to find program to capture HTTP header and fond it has nothing in HTTP 
header when I call TIdNTLMAuthentication.

Here is the HTTP Header when request:
GET /default.html HTTP/1.1
Host: 127.0.0.1
Accept: text/html, */*
User-Agent: Mozilla/4.0 (compatible; MSIE 5.0)

Here is the HTTP Header when response:
HTTP/1.1 401 Unauthorized
Cache-Control: private
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
X-Powered-By: ASP.NET
Date: Wed, 13 Feb 2008 21:43:01 GMT
Content-Length: 3481

I supprise in request caused by it should have more tag liked 
"Authorization: NTLM TlRMTVNTUAA..........." but it's gone.

If you have a simple completed code for Windows Authentication. Pls send me 
at j_aladin@hotmail.com that is appreaciated.

Aladin J.

"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message 
news:47b32b3f$2@newsgroups.borland.com...
>
> "Aladin J." <j_aladin@hotmail.com> wrote in message 
> news:47b2f1f8$1@newsgroups.borland.com...
>
>> I think it's NOT WORK.
>
> You did not provide the data I asked for.  Please do so.  I cannot help 
> you further without it.  I need to see what the server is actually asking 
> your client for.
>
>> Could you have a simple code to use TIdHttp
>> with Windows Authentication?
>
> I already have.
>
>
> Gambit
> 
Technical Details
Message-ID: <47b3658e@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <47ab27fc@newsgroups.borland.com> <47ab4352$1@newsgroups.borland.com> <47abc8cd@newsgroups.borland.com> <47b08ae4$1@newsgroups.borland.com> <47b19477@newsgroups.borland.com> <47b1d8a6$1@newsgroups.borland.com> <47b2604f@newsgroups.borland.com> <47b27339$1@newsgroups.borland.com> <47b28f19@newsgroups.borland.com> <47b29d49$1@newsgroups.borland.com> <47b2f1f8$1@newsgroups.borland.com> <47b32b3f$2@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,ecad3022b25c513d
X-Google-Attributes: gid11508e,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Aladin J." <j_aladin@hotmail.com>
From: "Aladin J." <j_aladin@hotmail.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <47ab27fc@newsgroups.borland.com> <47ab4352$1@newsgroups.borland.com> <47abc8cd@newsgroups.borland.com> <47b08ae4$1@newsgroups.borland.com> <47b19477@newsgroups.borland.com> <47b1d8a6$1@newsgroups.borland.com> <47b2604f@newsgroups.borland.com> <47b27339$1@newsgroups.borland.com> <47b28f19@newsgroups.borland.com> <47b29d49$1@newsgroups.borland.com> <47b2f1f8$1@newsgroups.borland.com> <47b32b3f$2@newsgroups.borland.com>
In-Reply-To: <47b32b3f$2@newsgroups.borland.com>
Subject: Re: TIdHTTP and Windows Authentication
Date: Thu, 14 Feb 2008 04:48:52 +0700
Lines: 49
MIME-Version: 1.0
Content-Type: text/plain;
 format=flowed;
 charset="windows-874";
 reply-type=response
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6000.16480
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545
NNTP-Posting-Host: 58.8.166.62
Message-ID: <47b3658e@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1202939278 58.8.166.62 (13 Feb 2008 13:47:58 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail