summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2013-05-17 16:44:05 +0200
committerAndreas Schneider <asn@samba.org>2013-08-05 10:29:59 +0200
commit6886cff0a7e97864e9094af936cbef08a3c8f6f4 (patch)
tree97aa6ffa8d8b748c44de053d7170fbe734336ab6 /source3/printing
parent9b4fb5b074b035eaef98c4a463c9d68006ed52da (diff)
downloadsamba-6886cff0a7e97864e9094af936cbef08a3c8f6f4.tar.gz
samba-6886cff0a7e97864e9094af936cbef08a3c8f6f4.tar.bz2
samba-6886cff0a7e97864e9094af936cbef08a3c8f6f4.zip
s3-rpc_cli: pass down ndr_interface_table to rpc_pipe_open_interface().
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/printing')
-rw-r--r--source3/printing/nt_printing_migrate_internal.c2
-rw-r--r--source3/printing/printspoolss.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/printing/nt_printing_migrate_internal.c b/source3/printing/nt_printing_migrate_internal.c
index 200db07fe2..6bc7ea2e8e 100644
--- a/source3/printing/nt_printing_migrate_internal.c
+++ b/source3/printing/nt_printing_migrate_internal.c
@@ -211,7 +211,7 @@ bool nt_printing_tdb_migrate(struct messaging_context *msg_ctx)
}
status = rpc_pipe_open_interface(tmp_ctx,
- &ndr_table_winreg.syntax_id,
+ &ndr_table_winreg,
session_info,
NULL,
msg_ctx,
diff --git a/source3/printing/printspoolss.c b/source3/printing/printspoolss.c
index fc1e9c12e3..0507e83446 100644
--- a/source3/printing/printspoolss.c
+++ b/source3/printing/printspoolss.c
@@ -154,7 +154,7 @@ NTSTATUS print_spool_open(files_struct *fsp,
* a job id */
status = rpc_pipe_open_interface(fsp->conn,
- &ndr_table_spoolss.syntax_id,
+ &ndr_table_spoolss,
fsp->conn->session_info,
fsp->conn->sconn->remote_address,
fsp->conn->sconn->msg_ctx,
@@ -343,7 +343,7 @@ void print_spool_terminate(struct connection_struct *conn,
rap_jobid_delete(print_file->svcname, print_file->jobid);
status = rpc_pipe_open_interface(conn,
- &ndr_table_spoolss.syntax_id,
+ &ndr_table_spoolss,
conn->session_info,
conn->sconn->remote_address,
conn->sconn->msg_ctx,