From: Eric Lilja <address@hidden>
Date: Sun, 17 Feb 2008 16:47:16 +0100
409 return (s_pfn_Get_Sid_Sub_Authority_Count (pSid));
1: /x pSid = 0x82ea68
At this point, i.e. _before_ line 409, please type these commands, and
tell me what they printed:
p ((SID *)pSid)->Revision
p ((SID *)pSid)->SubAuthorityCount
p *((SID *)pSid)->address@hidden
Hope I got this right:
(gdb) n
405 if (s_pfn_Get_Sid_Sub_Authority_Count == NULL)
(gdb) p ((SID *)pSid)->Revision
$1 = 1 '\001'
(gdb) p ((SID *)pSid)->SubAuthorityCount
$2 = 5 '\005'
(gdb) p ((SID *)pSid)->address@hidden
$3 = {{21}, {2313625805}, {1149499212}, {3830963393}, {1000},
{59246848}, {8579528}}
(gdb)
Almost: you forgot the leading asterisk in the last command, right
after "p":
p *((SID *)pSid)->address@hidden
Please tell me what this prints.
The rest looks good: the information is there, it's just that Vista
somehow refuses to produce it, or so it seems. Hmm...
Thanks.