diff options
author | Volker Lendecke <vlendec@samba.org> | 2005-10-31 20:12:22 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:45:35 -0500 |
commit | 5ca7979b2ca0cb9de1787023b2bf07e1048ba7cf (patch) | |
tree | be63347cfb48ebbc55e36610db223ccabc206329 /source4/winbind | |
parent | f07cb3f35fd154b016ea5c38f9a3aff4c60181b9 (diff) | |
download | samba-5ca7979b2ca0cb9de1787023b2bf07e1048ba7cf.tar.gz samba-5ca7979b2ca0cb9de1787023b2bf07e1048ba7cf.tar.xz samba-5ca7979b2ca0cb9de1787023b2bf07e1048ba7cf.zip |
r11422: Remove unused args
(This used to be commit d5aef4e2f955025266e59227364b5cccccdb9f32)
Diffstat (limited to 'source4/winbind')
-rw-r--r-- | source4/winbind/wb_cmd_lookupname.c | 4 | ||||
-rw-r--r-- | source4/winbind/wb_cmd_lookupsid.c | 4 | ||||
-rw-r--r-- | source4/winbind/wb_samba3_cmd.c | 4 |
3 files changed, 4 insertions, 8 deletions
diff --git a/source4/winbind/wb_cmd_lookupname.c b/source4/winbind/wb_cmd_lookupname.c index abdcaad02da..619c268c29c 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 c189f0329a1..1279cfe8771 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 fd3ce1bf31d..6c68398f484 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 */ |