diff options
author | Volker Lendecke <vl@samba.org> | 2009-11-08 09:53:08 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-11-08 13:12:13 +0100 |
commit | daa964013bc5d036f4da571ce22c0052ef40943a (patch) | |
tree | fa94d2690f3b5f334f823ec266bb6aa1023b324d /source3/winbindd | |
parent | 70c698fd547c4bc19cf77693608bbb34acac40b5 (diff) | |
download | samba-daa964013bc5d036f4da571ce22c0052ef40943a.tar.gz samba-daa964013bc5d036f4da571ce22c0052ef40943a.tar.bz2 samba-daa964013bc5d036f4da571ce22c0052ef40943a.zip |
s3: Do not reference ndr_table_<pipe> in the cli_ routines directly
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/winbindd_dual_ndr.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/source3/winbindd/winbindd_dual_ndr.c b/source3/winbindd/winbindd_dual_ndr.c index 8a23ce48e0..eb018aa87e 100644 --- a/source3/winbindd/winbindd_dual_ndr.c +++ b/source3/winbindd/winbindd_dual_ndr.c @@ -51,7 +51,8 @@ static void wb_ndr_dispatch_done(struct tevent_req *subreq); static struct tevent_req *wb_ndr_dispatch_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct rpc_pipe_client *cli, - const struct ndr_interface_table *table, + const char *interface, + uint32_t interface_version, uint32_t opnum, void *r) { @@ -69,7 +70,7 @@ static struct tevent_req *wb_ndr_dispatch_send(TALLOC_CTX *mem_ctx, } state->r = r; - state->call = &table->calls[opnum]; + state->call = &ndr_table_wbint.calls[opnum]; state->transport = transport; state->opnum = opnum; @@ -167,7 +168,8 @@ static NTSTATUS wb_ndr_dispatch_recv(struct tevent_req *req, static NTSTATUS wb_ndr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, - const struct ndr_interface_table *table, + const char *interface, + uint32_t interface_version, uint32_t opnum, void *r) { TALLOC_CTX *frame = talloc_stackframe(); @@ -181,7 +183,8 @@ static NTSTATUS wb_ndr_dispatch(struct rpc_pipe_client *cli, goto fail; } - req = wb_ndr_dispatch_send(frame, ev, cli, table, opnum, r); + req = wb_ndr_dispatch_send(frame, ev, cli, interface, + interface_version, opnum, r); if (req == NULL) { status = NT_STATUS_NO_MEMORY; goto fail; |