How to get a pointer to a SID from an ACE
From: Christopher Grace ([remove)
Date: 11/05/02
- Next message: Memnoch: "Re: IPSec Policy Agent won't start"
- Previous message: Darrin: "Require Ctrl-Alt-Del"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Christopher Grace" <[remove]conceptualcoding@yahoo.com> Date: Mon, 4 Nov 2002 17:19:43 -0700
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: Memnoch: "Re: IPSec Policy Agent won't start"
- Previous message: Darrin: "Require Ctrl-Alt-Del"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|