How to get a pointer to a SID from an ACE
From: Christopher Grace ([remove)
Date: 10/20/02
- Next message: David Cross [MS]: "Re: Publishing AIA certificates to Local Machine store"
- Previous message: Tim: "Need Help with configuring Device Manager Permissions!?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Christopher Grace" <[remove]conceptualcoding@yahoo.com> Date: Sat, 19 Oct 2002 16:44:04 -0600
I am trying to duplicate the functionality of some C++ code in VB.NET. The
code gets
a pointer to an Access Control Entry and from that gets a pointer to a
Security Identifier.
***
GetAce( pDacl, i, reinterpret_cast<void**>(&pAce) )
If EqualSid( pSid, &pAce->SidStart ) ...
***
The ACE is an Access_Allowed_Ace. That structure has
a SidStart field that's used to get a pointer to the SID. I am able to get
the vlaue in SidStart, but it equals 769; that's not a pointer to a valid
SID. I read somewhere that SidStart is not actually a pointer, but can be
used to get one in C++. Does anyone know what's going on here? How do I
use the value in SidStart?
- Next message: David Cross [MS]: "Re: Publishing AIA certificates to Local Machine store"
- Previous message: Tim: "Need Help with configuring Device Manager Permissions!?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|