From 57c1a70451a4da422a3846b6082e313cc9367e4c Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 22 Oct 2003 07:29:18 +0000 Subject: In cli_lsa_lookup_sids don't leave the domain field uninitialized if some sid could not be mapped. Otherwise this call is unnecessarily complicated to call. Volker (This used to be commit 1337338522242a430b3c5655ffdff3f701fbfcce) --- source3/rpc_client/cli_lsarpc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source3/rpc_client/cli_lsarpc.c b/source3/rpc_client/cli_lsarpc.c index 65115419b4..ab4fbad613 100644 --- a/source3/rpc_client/cli_lsarpc.c +++ b/source3/rpc_client/cli_lsarpc.c @@ -322,6 +322,7 @@ NTSTATUS cli_lsa_lookup_sids(struct cli_state *cli, TALLOC_CTX *mem_ctx, } else { (*names)[i] = NULL; + (*domains)[i] = NULL; (*types)[i] = SID_NAME_UNKNOWN; } } -- cgit