some fixes for CheckTokenMembership:
authorThomas Bluemel <thomas@reactsoft.com>
Mon, 10 Oct 2005 11:44:37 +0000 (11:44 +0000)
committerThomas Bluemel <thomas@reactsoft.com>
Mon, 10 Oct 2005 11:44:37 +0000 (11:44 +0000)
commita4bfa110a8765692a2bd2663697330544b8dca02
tree4878484cce3f28c69e212d6832e8534cb52008ac
parent0c2ceade45af375f740fe12de55d3fe55e62ac5a
some fixes for CheckTokenMembership:
- properly create an impersonation token from the primary token in case the thread is not impersonating
- use NtAccessCheck to perform the access check

svn path=/trunk/; revision=18392
reactos/lib/advapi32/token/token.c