diff options
author | Volker Lendecke <vlendec@samba.org> | 2003-10-22 07:29:18 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2003-10-22 07:29:18 +0000 |
commit | 57c1a70451a4da422a3846b6082e313cc9367e4c (patch) | |
tree | c0734b9615678806d03c435694853f356960b29a /source3/rpc_client | |
parent | 5114dee2716f9703f2eee07a891d77a15f4b6a82 (diff) | |
download | samba-57c1a70451a4da422a3846b6082e313cc9367e4c.tar.gz samba-57c1a70451a4da422a3846b6082e313cc9367e4c.tar.bz2 samba-57c1a70451a4da422a3846b6082e313cc9367e4c.zip |
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)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_lsarpc.c | 1 |
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; } } |