🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TIdHTTP and Windows Authentication

#447
From: Aladin J.
Date: Wed, 13 Feb 2008 06:34
37 lines
2099 bytes
I have already known the problem and solved. The first problem is OpenSSL is 
not installed.

Now I thought I can use NTLM Authentication.

BUT it still have the error code returned from Web Server is "HTTP Error 
401.2 - Unauthorized"

I need just to find the way to Get HTTP Page from selected Windows 
Authentication from IIS server.

How can I do?


"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message 
news:47b27339$1@newsgroups.borland.com...
>
> "Aladin J." <j_aladin@hotmail.com> wrote in message
> news:47b2604f@newsgroups.borland.com...
>
>> http->Request->Authentication = new TIdNTLMAuthentication();
>>
>> It still found the error "Operation aborted." in Exception (ex.Message)
>
> What is the actual class type of the exception?
>
>> catch (ex as Exception) {
>
> That is not a valid statement.  You need to catch exceptions by reference,
> preferrably by 'const' reference, ie:
>
>    catch (const Exception &ex)
>
>
> Gambit
>
> 
Technical Details
Message-ID: <47b28f19@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!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>

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: "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>
Subject: Re: TIdHTTP and Windows Authentication
Date: Wed, 13 Feb 2008 13:34:06 +0700
Lines: 39
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 202.57.178.143
Message-ID: <47b28f19@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1202884377 202.57.178.143 (12 Feb 2008 22:32:57 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail