summaryrefslogtreecommitdiff
path: root/source4/winbind
diff options
context:
space:
mode:
Diffstat (limited to 'source4/winbind')
-rw-r--r--source4/winbind/wb_cmd_lookupname.c4
-rw-r--r--source4/winbind/wb_cmd_lookupsid.c4
-rw-r--r--source4/winbind/wb_samba3_cmd.c4
3 files changed, 4 insertions, 8 deletions
diff --git a/source4/winbind/wb_cmd_lookupname.c b/source4/winbind/wb_cmd_lookupname.c
index abdcaad02d..619c268c29 100644
--- a/source4/winbind/wb_cmd_lookupname.c
+++ b/source4/winbind/wb_cmd_lookupname.c
@@ -36,7 +36,6 @@ static struct composite_context *lookupname_send_req(struct wbsrv_domain *domain
static NTSTATUS lookupname_recv_req(struct composite_context *ctx, void *p);
struct composite_context *wb_cmd_lookupname_send(struct wbsrv_service *service,
- struct wbsrv_domain *domain,
const char *dom_name,
const char *name)
{
@@ -99,12 +98,11 @@ NTSTATUS wb_cmd_lookupname_recv(struct composite_context *c,
}
NTSTATUS wb_cmd_lookupname(struct wbsrv_service *service,
- struct wbsrv_domain *domain,
const char *dom_name,
const char *name,
TALLOC_CTX *mem_ctx, struct wb_sid_object **sid)
{
struct composite_context *c =
- wb_cmd_lookupname_send(service, domain, dom_name, name);
+ wb_cmd_lookupname_send(service, dom_name, name);
return wb_cmd_lookupname_recv(c, mem_ctx, sid);
}
diff --git a/source4/winbind/wb_cmd_lookupsid.c b/source4/winbind/wb_cmd_lookupsid.c
index c189f0329a..1279cfe877 100644
--- a/source4/winbind/wb_cmd_lookupsid.c
+++ b/source4/winbind/wb_cmd_lookupsid.c
@@ -36,7 +36,6 @@ static struct composite_context *lookupsid_send_req(struct wbsrv_domain *domain,
static NTSTATUS lookupsid_recv_req(struct composite_context *ctx, void *p);
struct composite_context *wb_cmd_lookupsid_send(struct wbsrv_service *service,
- struct wbsrv_domain *domain,
const struct dom_sid *sid)
{
struct cmd_lookupsid_state *state;
@@ -97,11 +96,10 @@ NTSTATUS wb_cmd_lookupsid_recv(struct composite_context *c,
}
NTSTATUS wb_cmd_lookupsid(struct wbsrv_service *service,
- struct wbsrv_domain *domain,
const struct dom_sid *sid,
TALLOC_CTX *mem_ctx, struct wb_sid_object **name)
{
struct composite_context *c =
- wb_cmd_lookupsid_send(service, domain, sid);
+ wb_cmd_lookupsid_send(service, sid);
return wb_cmd_lookupsid_recv(c, mem_ctx, name);
}
diff --git a/source4/winbind/wb_samba3_cmd.c b/source4/winbind/wb_samba3_cmd.c
index fd3ce1bf31..6c68398f48 100644
--- a/source4/winbind/wb_samba3_cmd.c
+++ b/source4/winbind/wb_samba3_cmd.c
@@ -371,7 +371,7 @@ NTSTATUS wbsrv_samba3_lookupname(struct wbsrv_samba3_call *s3call)
DEBUG(5, ("wbsrv_samba3_lookupname called\n"));
- ctx = wb_cmd_lookupname_send(service, service->domains,
+ ctx = wb_cmd_lookupname_send(service,
s3call->request.data.name.dom_name,
s3call->request.data.name.name);
NT_STATUS_HAVE_NO_MEMORY(ctx);
@@ -425,7 +425,7 @@ NTSTATUS wbsrv_samba3_lookupsid(struct wbsrv_samba3_call *s3call)
return NT_STATUS_NO_MEMORY;
}
- ctx = wb_cmd_lookupsid_send(service, service->domains, sid);
+ ctx = wb_cmd_lookupsid_send(service, sid);
NT_STATUS_HAVE_NO_MEMORY(ctx);
/* setup the callbacks */