GetEffectiveRightsFromAcl
From: Ray Hayes (RayHayes_at_discussions.microsoft.com)
Date: 05/20/05
- Previous message: tommy: "Second ehlo-Command no response"
- Next in thread: Hao Zhuang [MSFT]: "Re: GetEffectiveRightsFromAcl"
- Reply: Hao Zhuang [MSFT]: "Re: GetEffectiveRightsFromAcl"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 20 May 2005 08:36:05 -0700
I have a security descriptor, SDDL format is
"O:S-1-5-21-987712285-351545167-142223018-1446D:(A;OICI;0x3f0;;;S-1-5-21-987712285-351545167-142223018-1446)(D;OICIID;0x200;;;S-1-5-21-987712285-351545167-142223018-1446)(A;OICIID;0x3f0;;;S-1-5-21-987712285-351545167-142223018-1446)"
which I think is correct. The first ACE grants full control. The 2nd is a
deny inherited from the parent item and the 3rd is a grant of full control
inherited from the parent.
When I call GetEffectiveRightsFromAcl, I get a return code of 0x00000538
which is "The access control list (ACL) structure is invalid." but I can't
see how. If I remove the deny ace it works fine.
What am I missing? Thanks.
-- Ray Hayes http://www.rhbe.net
- Previous message: tommy: "Second ehlo-Command no response"
- Next in thread: Hao Zhuang [MSFT]: "Re: GetEffectiveRightsFromAcl"
- Reply: Hao Zhuang [MSFT]: "Re: GetEffectiveRightsFromAcl"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|