1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r11422: Remove unused args

(This used to be commit d5aef4e2f9)
This commit is contained in:
Volker Lendecke 2005-10-31 20:12:22 +00:00 committed by Gerald (Jerry) Carter
parent f07cb3f35f
commit 5ca7979b2c
3 changed files with 4 additions and 8 deletions

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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 */