Retrieving security information regarding thread calling IRP_MJ_C- REATE

Hi all!

In my driver I need to do something like the following when processing a
IRP_MJ_CREATE:

SECURITY_SUBJECT_CONTEXT stSubject;
PACCESS_TOKEN ptoken;
PTOKEN_OWNER pstTokenOwner = NULL;

SeCaptureSubjectContext(&stSubject);
SeLockSubjectContext(&stSubject);
ptoken = SeQuerySubjectContextToken(&stSubject);
status = SeQueryInformationToken(ptoken, TokenOwner,
&pstTokenOwner);

However, since SeQueryInformationToken() isn’t present in NT4 I need some
other means of accomplishing the same task. I’m greatful for any hints.

/Svante


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com