diff options
author | Simo Sorce <idra@samba.org> | 2010-07-06 11:33:15 -0400 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2010-09-15 12:53:42 +0200 |
commit | 5685914344d21e5fdac98c367b3dd1eba555f227 (patch) | |
tree | bc9328e59b1136935157598bf54b31935017ccd4 /source3/smbd/reply.c | |
parent | 344260d03e9a50bce051e180df75f696e2478228 (diff) | |
download | samba-5685914344d21e5fdac98c367b3dd1eba555f227.tar.gz samba-5685914344d21e5fdac98c367b3dd1eba555f227.tar.bz2 samba-5685914344d21e5fdac98c367b3dd1eba555f227.zip |
s3-rpc_server: Convert rpc_connect_spoolss_pipe into a generic interface.
This way we have one common way to open internal pipes whether they
are shortcircuited or piped to an external process.
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r-- | source3/smbd/reply.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index df7dac7b09..4ace452ed9 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -5294,7 +5294,12 @@ void reply_printqueue(struct smb_request *req) ZERO_STRUCT(handle); - status = rpc_connect_spoolss_pipe(conn, &cli); + status = rpc_pipe_open_interface(conn, + &ndr_table_spoolss.syntax_id, + conn->server_info, + &conn->sconn->client_id, + conn->sconn->msg_ctx, + &cli); if (!NT_STATUS_IS_OK(status)) { DEBUG(0, ("reply_printqueue: " "could not connect to spoolss: %s\n", |