diff options
Diffstat (limited to 'source4/auth')
-rw-r--r-- | source4/auth/unix_token.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source4/auth/unix_token.c b/source4/auth/unix_token.c index 38109452a4b..aee950d9166 100644 --- a/source4/auth/unix_token.c +++ b/source4/auth/unix_token.c @@ -36,7 +36,6 @@ NTSTATUS security_token_to_unix_token(TALLOC_CTX *mem_ctx, uint32_t s, g; NTSTATUS status; struct id_map *ids; - struct composite_context *ctx; /* we can't do unix security without a user and group */ if (token->num_sids < 2) { @@ -56,10 +55,7 @@ NTSTATUS security_token_to_unix_token(TALLOC_CTX *mem_ctx, ids[s].status = ID_UNKNOWN; } - ctx = wbc_sids_to_xids_send(wbc_ctx, ids, token->num_sids, ids); - NT_STATUS_HAVE_NO_MEMORY(ctx); - - status = wbc_sids_to_xids_recv(ctx, &ids); + status = wbc_sids_to_xids(wbc_ctx->event_ctx, ids, token->num_sids); NT_STATUS_NOT_OK_RETURN(status); g = token->num_sids; |