Arno Garrels wrote:
> Fastream Technologies wrote:
>> One other question: how do we authenticate against the local system
>> acounts when there is no NT-domain controller? Like "localhost" in IP
>> for example?
> 
> Field Domain may be empty, contain a single dot ".", the computer
> name, DNS hostname?, the IP address or "LocalHost". Probably there
> are even more posibilities. Play! 

I wonder if it isn't easier for you to check the authenticating
authority from the security context after authentication succeeded?
I tried this once, but got back an empty string from function 
QueryContextAttributesA, propably due the lack of a domain controller.

something like this:
var
ContextAutority: TSecPkgContextAuthorityA; 
Authority: String;

FPSFT^.QueryContextAttributesA(@FHCtx, SECPKG_ATTR_AUTHORITY, @ContextAutority);
Authority := ContextAutority.sAuthorityName;
 
> ---
> Arno Garrels [TeamICS]
> http://www.overbyte.be/eng/overbyte/teamics.html
> 
> 
> 
>> Best Regards,
>> 
>> SZ
>> 
>> ----- Original Message -----
>> From: "Arno Garrels" <[EMAIL PROTECTED]>
>> To: "ICS support mailing" <[email protected]>
>> Sent: Tuesday, September 12, 2006 2:00 PM
>> Subject: Re: [twsocket] Simple NTLM question
>> 
>> 
>>> Fastream Technologies wrote:
>>>> Hello Arno,
>>>> 
>>>> I wonder if the NTLM domain names are case-sensitive or not?
>>> 
>>> I think they are not case-sensitive.
>>> 
>>> ---
>>> 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

Reply via email to