diff options
author | Volker Lendecke <vl@samba.org> | 2011-04-02 18:46:58 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-04-05 12:26:29 +0200 |
commit | 0f08e9d92222b97cfea3fa5c9ac633790cc4f76d (patch) | |
tree | 3ba8a5c28b0ffca19e06f168a4699132c80da25a /source3/printing/printspoolss.c | |
parent | 4b7895698557149504773f4e74e8d4eb81c3b093 (diff) | |
download | samba-0f08e9d92222b97cfea3fa5c9ac633790cc4f76d.tar.gz |
s3: Fix print_spool_end
We have to use the spoolss pipe instance opened in print_spool_open, otherwise
the spoolss server won't be able to find the right printer and job.
Diffstat (limited to 'source3/printing/printspoolss.c')
-rw-r--r-- | source3/printing/printspoolss.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/source3/printing/printspoolss.c b/source3/printing/printspoolss.c index 01137df7efc..352fcb8b6bc 100644 --- a/source3/printing/printspoolss.c +++ b/source3/printing/printspoolss.c @@ -277,18 +277,6 @@ void print_spool_end(files_struct *fsp, enum file_close_type close_type) WERROR werr; struct dcerpc_binding_handle *b = NULL; - status = rpc_pipe_open_interface(fsp->conn, - &ndr_table_spoolss.syntax_id, - fsp->conn->session_info, - &fsp->conn->sconn->client_id, - fsp->conn->sconn->msg_ctx, - &fsp->conn->spoolss_pipe); - if (!NT_STATUS_IS_OK(status)) { - DEBUG(0, ("print_spool_end: " - "Failed to get spoolss pipe [%s]\n", - nt_errstr(status))); - return; - } b = fsp->conn->spoolss_pipe->binding_handle; switch (close_type) { |