[Win32utils-devel] Need some ACL help for win32-file

Berger, Daniel Daniel.Berger at qwest.com
Tue Mar 21 10:56:39 EST 2006


> -----Original Message-----
> From: win32utils-devel-bounces at rubyforge.org 
> [mailto:win32utils-devel-bounces at rubyforge.org] On Behalf Of 
> Park Heesob
> Sent: Monday, March 20, 2006 7:37 PM
> To: win32utils-devel at rubyforge.org
> Subject: Re: [Win32utils-devel] Need some ACL help for win32-file

<snip>

> >
> >Also, should we consider dumping this approach in favor of a OLE +
> >WMI
> >solution, using Win32_LogicalFileSecuritySetting ?
> >
> Yes. I think we can do more things with this than WMI.

Wait - you think we should use WMI or we shouldn't?

<snip>

> Refer to ruby-talk:184780
> 
> define GetAce like this:
> GetAce = Win32API.new('advapi32', 'GetAce', 'LLP', 'I')
> 
> and call like this:
> GetAce.call(acl_ptr.unpack('L')[0], i, ace_ptr)

Ah, thanks.  Feel like taking on LookupAccountSid? :)

Regards,

Dan



More information about the win32utils-devel mailing list