mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
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)
This commit is contained in:
parent
3029c5bbd8
commit
2fef82e5df
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user