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:
committed by
Michael Adam
parent
c8884e1cf2
commit
92a16b91e8
@ -232,7 +232,8 @@ static NTSTATUS rpccli_lsa_lookup_sids_noalloc(struct rpc_pipe_client *cli,
|
|||||||
} else {
|
} else {
|
||||||
(names)[i] = NULL;
|
(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;
|
(types)[i] = lsa_names.names[i].sid_type;
|
||||||
if (((domains)[i] == NULL)) {
|
if (((domains)[i] == NULL)) {
|
||||||
DEBUG(0, ("cli_lsa_lookup_sids_noalloc(): out of memory\n"));
|
DEBUG(0, ("cli_lsa_lookup_sids_noalloc(): out of memory\n"));
|
||||||
|
Reference in New Issue
Block a user