diff options
author | Luke Leighton <lkcl@samba.org> | 1999-11-09 19:35:30 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-11-09 19:35:30 +0000 |
commit | 826ad16b363accc4029178cf9087b02362245e11 (patch) | |
tree | e97642e777c4843139b99258ea6885101b3633be /source3/rpc_client/cli_pipe.c | |
parent | 97398b4c7433b449b074373a7f552c58854c7a49 (diff) | |
download | samba-826ad16b363accc4029178cf9087b02362245e11.tar.gz samba-826ad16b363accc4029178cf9087b02362245e11.tar.bz2 samba-826ad16b363accc4029178cf9087b02362245e11.zip |
debugging rpcclient spoolenum and spooljobs commands. oh, did i forget
to mention, there's a spooljobs <printer name> command, and it uses
command-line completion? prints out NT print jobs really nicely, too.
(This used to be commit e6e5caf16c8d120f0c11fa63061f2786098e3357)
Diffstat (limited to 'source3/rpc_client/cli_pipe.c')
-rw-r--r-- | source3/rpc_client/cli_pipe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index 7e2bf426fa..df09f02398 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -283,7 +283,7 @@ static BOOL rpc_api_pipe(struct cli_state *cli, uint16 fnum, setup[0] = cmd; setup[1] = fnum; /* pipe file handle. got this from an SMBOpenX. */ - if (data_len > 1024 && !bind_rq) + if (data_len > 2048 && !bind_rq) { ssize_t written; @@ -314,7 +314,7 @@ static BOOL rpc_api_pipe(struct cli_state *cli, uint16 fnum, if (!cli_api_pipe(cli, "\\PIPE\\\0\0\0", 8, setup, 2, 0, /* Setup, length, max */ pparams, params_len, 0, /* Params, length, max */ - pdata, data_len, 1024, /* data, length, max */ + pdata, data_len, 2048, /* data, length, max */ pp_ret_params, p_ret_params_len, /* return params, len */ pp_ret_data, p_ret_data_len)) /* return data, len */ { |