server: Dump token details.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Hans Leidekker 2018-05-02 10:45:41 +02:00 committed by Alexandre Julliard
parent a6e9622439
commit 14191f2dd0
1 changed files with 4 additions and 3 deletions

View File

@ -158,11 +158,12 @@ static const struct object_ops token_ops =
token_destroy /* destroy */
};
static void token_dump( struct object *obj, int verbose )
{
fprintf( stderr, "Security token\n" );
/* FIXME: dump token members */
struct token *token = (struct token *)obj;
assert( obj->ops == &token_ops );
fprintf( stderr, "Token id=%d.%u primary=%u impersonation level=%d\n", token->token_id.high_part,
token->token_id.low_part, token->primary, token->impersonation_level );
}
static unsigned int token_map_access( struct object *obj, unsigned int access )