1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

fix bogus "out of memory" winbind msg

Signed-off-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Volker Lendecke
2009-05-13 10:12:26 +02:00
committed by Michael Adam
parent c8884e1cf2
commit 92a16b91e8

View File

@ -232,7 +232,8 @@ static NTSTATUS rpccli_lsa_lookup_sids_noalloc(struct rpc_pipe_client *cli,
} else {
(names)[i] = NULL;
}
(domains)[i] = talloc_strdup(mem_ctx, dom_name);
domains[i] = talloc_strdup(
mem_ctx, dom_name ? dom_name : "");
(types)[i] = lsa_names.names[i].sid_type;
if (((domains)[i] == NULL)) {
DEBUG(0, ("cli_lsa_lookup_sids_noalloc(): out of memory\n"));