mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
winbind: Query domain from winbind rpc name_to_sid
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13831 Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
parent
60b0e91237
commit
562551c088
@ -254,6 +254,7 @@ NTSTATUS rpc_name_to_sid(TALLOC_CTX *mem_ctx,
|
||||
struct dom_sid *sids = NULL;
|
||||
char *full_name = NULL;
|
||||
const char *names[1];
|
||||
const char **domains;
|
||||
char *mapped_name = NULL;
|
||||
NTSTATUS status;
|
||||
|
||||
@ -290,7 +291,7 @@ NTSTATUS rpc_name_to_sid(TALLOC_CTX *mem_ctx,
|
||||
lsa_policy,
|
||||
1, /* num_names */
|
||||
names,
|
||||
NULL, /* domains */
|
||||
&domains,
|
||||
1, /* level */
|
||||
&sids,
|
||||
&types);
|
||||
|
Loading…
x
Reference in New Issue
Block a user