Commit b5c442b7 authored by Christof Schmitt's avatar Christof Schmitt Committed by Karolin Seeger

winbind: Query domain from winbind sam_name_to_sid

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13831Signed-off-by: default avatarChristof Schmitt <cs@samba.org>
Reviewed-by: default avatarVolker Lendecke <vl@samba.org>
(cherry picked from commit 32e3f066)
parent ef63526b
......@@ -587,6 +587,7 @@ static NTSTATUS sam_name_to_sid(struct winbindd_domain *domain,
struct rpc_pipe_client *lsa_pipe;
struct policy_handle lsa_policy = { 0 };
struct dom_sid sid;
const char *dom_name;
enum lsa_SidType type;
TALLOC_CTX *tmp_ctx;
NTSTATUS status;
......@@ -615,6 +616,7 @@ again:
domain_name,
name,
flags,
&dom_name,
&sid,
&type);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment