diff options
author | Günther Deschner <gd@samba.org> | 2013-05-17 16:02:59 +0200 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2013-08-05 10:29:59 +0200 |
commit | 93e92faca9c99cd91878c2f48fb244233b16aa0f (patch) | |
tree | fe9fa2cc171ece939370baa3fa121dffb0504e00 /source3/utils/net_util.c | |
parent | 6dc7c63efa95d0c04b542667d9b6a6621c8139bf (diff) | |
download | samba-93e92faca9c99cd91878c2f48fb244233b16aa0f.tar.gz samba-93e92faca9c99cd91878c2f48fb244233b16aa0f.tar.bz2 samba-93e92faca9c99cd91878c2f48fb244233b16aa0f.zip |
s3-net: pass down ndr_interface_table to connect_dst_pipe().
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/utils/net_util.c')
-rw-r--r-- | source3/utils/net_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_util.c b/source3/utils/net_util.c index 9c4a77eff4..a4282ec421 100644 --- a/source3/utils/net_util.c +++ b/source3/utils/net_util.c @@ -231,7 +231,7 @@ NTSTATUS connect_to_ipc_anonymous(struct net_context *c, **/ NTSTATUS connect_dst_pipe(struct net_context *c, struct cli_state **cli_dst, struct rpc_pipe_client **pp_pipe_hnd, - const struct ndr_syntax_id *interface) + const struct ndr_interface_table *table) { NTSTATUS nt_status; char *server_name = SMB_STRDUP("127.0.0.1"); @@ -256,7 +256,7 @@ NTSTATUS connect_dst_pipe(struct net_context *c, struct cli_state **cli_dst, return nt_status; } - nt_status = cli_rpc_pipe_open_noauth(cli_tmp, interface, + nt_status = cli_rpc_pipe_open_noauth(cli_tmp, &table->syntax_id, &pipe_hnd); if (!NT_STATUS_IS_OK(nt_status)) { DEBUG(0, ("couldn't not initialize pipe\n")); |