From 5ca7979b2ca0cb9de1787023b2bf07e1048ba7cf Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 31 Oct 2005 20:12:22 +0000 Subject: r11422: Remove unused args (This used to be commit d5aef4e2f955025266e59227364b5cccccdb9f32) --- source4/winbind/wb_cmd_lookupname.c | 4 +--- source4/winbind/wb_cmd_lookupsid.c | 4 +--- source4/winbind/wb_samba3_cmd.c | 4 ++-- 3 files changed, 4 insertions(+), 8 deletions(-) (limited to 'source4') 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 */ -- cgit