From 4f147388c0512fc291cc53764c017d7117154afc Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 2 Aug 2009 10:43:05 +0200 Subject: Refactor 9b78af1f: Fix lookupname recursion Pass a "flags" argument instead of the original winbind command down the name_to_sid chain. This way we are independent of the winbind commands and can take the decision at a much higher level --- source3/winbindd/winbindd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/winbindd/winbindd.h') diff --git a/source3/winbindd/winbindd.h b/source3/winbindd/winbindd.h index 732b9a3614..64fb8851df 100644 --- a/source3/winbindd/winbindd.h +++ b/source3/winbindd/winbindd.h @@ -247,9 +247,9 @@ struct winbindd_methods { /* convert one user or group name to a sid */ 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); -- cgit