summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-08 19:38:01 +0100
committerVolker Lendecke <vl@samba.org>2009-11-08 19:43:47 +0100
commite181b889784e6aed47e2fcc86add736d0b04daf2 (patch)
tree2bf46748bfa1eb83756d7ebce645304c6b4555dd /source3/winbindd
parent27847e8386a005b4369d99cad62215a113a0a0f9 (diff)
downloadsamba-e181b889784e6aed47e2fcc86add736d0b04daf2.tar.gz
samba-e181b889784e6aed47e2fcc86add736d0b04daf2.tar.bz2
samba-e181b889784e6aed47e2fcc86add736d0b04daf2.zip
Revert "s3: Do not reference ndr_table_<pipe> in the cli_ routines directly"
This reverts commit daa964013bc5d036f4da571ce22c0052ef40943a.
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_dual_ndr.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/source3/winbindd/winbindd_dual_ndr.c b/source3/winbindd/winbindd_dual_ndr.c
index eb018aa87e..8a23ce48e0 100644
--- a/source3/winbindd/winbindd_dual_ndr.c
+++ b/source3/winbindd/winbindd_dual_ndr.c
@@ -51,8 +51,7 @@ 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 char *interface,
- uint32_t interface_version,
+ const struct ndr_interface_table *table,
uint32_t opnum,
void *r)
{
@@ -70,7 +69,7 @@ static struct tevent_req *wb_ndr_dispatch_send(TALLOC_CTX *mem_ctx,
}
state->r = r;
- state->call = &ndr_table_wbint.calls[opnum];
+ state->call = &table->calls[opnum];
state->transport = transport;
state->opnum = opnum;
@@ -168,8 +167,7 @@ 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 char *interface,
- uint32_t interface_version,
+ const struct ndr_interface_table *table,
uint32_t opnum, void *r)
{
TALLOC_CTX *frame = talloc_stackframe();
@@ -183,8 +181,7 @@ static NTSTATUS wb_ndr_dispatch(struct rpc_pipe_client *cli,
goto fail;
}
- req = wb_ndr_dispatch_send(frame, ev, cli, interface,
- interface_version, opnum, r);
+ req = wb_ndr_dispatch_send(frame, ev, cli, table, opnum, r);
if (req == NULL) {
status = NT_STATUS_NO_MEMORY;
goto fail;