summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-10-22 07:31:17 +0000
committerVolker Lendecke <vlendec@samba.org>2003-10-22 07:31:17 +0000
commit2fef82e5df4f4e85cc21734189b54b7be15f42cd (patch)
tree401a2e713f1b95ea37f84216882d1bc257a646ac
parent3029c5bbd8bd0e5459612b4cf6208115ca867c51 (diff)
downloadsamba-2fef82e5df4f4e85cc21734189b54b7be15f42cd.tar.gz
samba-2fef82e5df4f4e85cc21734189b54b7be15f42cd.tar.bz2
samba-2fef82e5df4f4e85cc21734189b54b7be15f42cd.zip
Merge from 3_0:
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 198b01fc54ce7a5beeddc680b30da291639b4eda)
-rw-r--r--source3/rpc_client/cli_lsarpc.c1
1 files changed, 1 insertions, 0 deletions
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;
}
}