BTW, I see that this demo cannot get permissions for folders (only files). 
Is there a special reason for this?

Regards,

SZ

----- Original Message ----- 
From: "Arno Garrels" <[EMAIL PROTECTED]>
To: "ICS support mailing" <[email protected]>
Sent: Saturday, September 01, 2007 1:32 PM
Subject: Re: [twsocket] Question regarding ActiveDirectory in FTP for Arno


> Arno Garrels wrote:
>> I use these Windows API functions:
>> GetNamedSecurityInfo()
>> MapGenericMask()
>> AccessCheck()
>>
>> Anyway, I don't know how to translate the resulting mask to unix
>> format, also there's no reliable way to get the effective rights of
>> users without having the user access token, even XP shows sometimes
>> nonsense effektive rights of not logged on users.
>
> Btw: If you want to see the above functions in action get this small
> demo binary from here : http://www.duodata.de/misc/delphi/ChkAcc.zip
> And then tell us your idea how to form the UNIX mask from it, that
> includes three parts for Owner, Group and Public.
>
> Arno Garrels
> -- 
> 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