🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TIdHTTP and Windows Authentication

#444
From: Remy Lebeau (TeamB)
Date: Tue, 12 Feb 2008 17:35
22 lines
1697 bytes
"Aladin J." <j_aladin@hotmail.com> wrote in message 
news:47b19477@newsgroups.borland.com...

> I try to use as followinng code but it generates error after I create 
> variable "IdNTLMAuthentication":
>
> The error is "Operation aborted".

On which line exactly?

> IdNTLMAuthentication->Username = "user";
> IdNTLMAuthentication->Password = "password";

Don't do that.  Use TIdHTTP's properties instead:

    http->Request->Authentication = new TIdNTLMAuthentication();
    http->Request->Username = "user";
    http->Request->Password = "password";


Gambit 
Technical Details
Message-ID: <47b1d8a6$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!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>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,ecad3022b25c513d
X-Google-Attributes: gid11508e,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.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>
Subject: Re: TIdHTTP and Windows Authentication
Date: Tue, 12 Feb 2008 09:35:03 -0800
Lines: 24
Organization: Lebeau Software
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
NNTP-Posting-Host: 207.178.157.90
Message-ID: <47b1d8a6$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1202837670 207.178.157.90 (12 Feb 2008 09:34:30 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail