summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_reconnect.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/winbindd/winbindd_reconnect.c')
-rw-r--r--source3/winbindd/winbindd_reconnect.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/source3/winbindd/winbindd_reconnect.c b/source3/winbindd/winbindd_reconnect.c
index 25debccc5a..1d71a75458 100644
--- a/source3/winbindd/winbindd_reconnect.c
+++ b/source3/winbindd/winbindd_reconnect.c
@@ -83,21 +83,20 @@ static NTSTATUS enum_local_groups(struct winbindd_domain *domain,
/* convert a single name to a sid in a domain */
static NTSTATUS name_to_sid(struct winbindd_domain *domain,
TALLOC_CTX *mem_ctx,
- enum winbindd_cmd orig_cmd,
const char *domain_name,
const char *name,
+ uint32_t flags,
DOM_SID *sid,
enum lsa_SidType *type)
{
NTSTATUS result;
- result = msrpc_methods.name_to_sid(domain, mem_ctx, orig_cmd,
- domain_name, name,
- sid, type);
+ result = msrpc_methods.name_to_sid(domain, mem_ctx, domain_name, name,
+ flags, sid, type);
if (NT_STATUS_EQUAL(result, NT_STATUS_UNSUCCESSFUL))
- result = msrpc_methods.name_to_sid(domain, mem_ctx, orig_cmd,
- domain_name, name,
+ result = msrpc_methods.name_to_sid(domain, mem_ctx,
+ domain_name, name, flags,
sid, type);
return result;