server: Use attributes instead of inherit flag in token requests.
Also use the specified access rights in the open_token request.
diff --git a/server/trace.c b/server/trace.c
index 153f5a9..aff977f 100644
--- a/server/trace.c
+++ b/server/trace.c
@@ -2949,6 +2949,8 @@
static void dump_open_token_request( const struct open_token_request *req )
{
fprintf( stderr, " handle=%p,", req->handle );
+ fprintf( stderr, " access=%08x,", req->access );
+ fprintf( stderr, " attributes=%08x,", req->attributes );
fprintf( stderr, " flags=%08x", req->flags );
}
@@ -3021,7 +3023,7 @@
{
fprintf( stderr, " handle=%p,", req->handle );
fprintf( stderr, " access=%08x,", req->access );
- fprintf( stderr, " inherit=%d,", req->inherit );
+ fprintf( stderr, " attributes=%08x,", req->attributes );
fprintf( stderr, " primary=%d,", req->primary );
fprintf( stderr, " impersonation_level=%d", req->impersonation_level );
}