summaryrefslogtreecommitdiffstats
path: root/source/rpc_client
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-10-05 23:02:59 +0000
committerJeremy Allison <jra@samba.org>2005-10-05 23:02:59 +0000
commitc1e973b81c1f116b7fac9f786977fd61c72299e4 (patch)
treeedad458e564601ba7eaba792153cdcfa402c1a82 /source/rpc_client
parent88e4b939482e3aa9debe661387c6505b7fbe4242 (diff)
downloadsamba-c1e973b81c1f116b7fac9f786977fd61c72299e4.tar.gz
samba-c1e973b81c1f116b7fac9f786977fd61c72299e4.tar.xz
samba-c1e973b81c1f116b7fac9f786977fd61c72299e4.zip
r10745: Fix artificial 1k restriction.
Jeremy.
Diffstat (limited to 'source/rpc_client')
-rw-r--r--source/rpc_client/cli_pipe.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/rpc_client/cli_pipe.c b/source/rpc_client/cli_pipe.c
index df34b1c3d95..c29ee0c0676 100644
--- a/source/rpc_client/cli_pipe.c
+++ b/source/rpc_client/cli_pipe.c
@@ -748,7 +748,7 @@ static NTSTATUS rpc_api_pipe(struct rpc_pipe_client *cli,
uint32 data_len = data ? prs_offset(data) : 0;
char *prdata = NULL;
uint32 rdata_len = 0;
- uint32 max_data = cli->max_xmit_frag ? cli->max_xmit_frag : 1024;
+ uint32 max_data = cli->max_xmit_frag ? cli->max_xmit_frag : RPC_MAX_PDU_FRAG_LEN;
uint32 current_rbuf_offset = 0;
prs_struct current_pdu;
@@ -2546,6 +2546,8 @@ static void kerberos_auth_struct_free(struct cli_pipe_auth_data *a)
/****************************************************************************
Open a named pipe to an SMB server and bind using krb5 (bind type 16).
+ The idea is this can be called with service_princ, username and password all
+ NULL so long as the caller has a TGT.
****************************************************************************/
struct rpc_pipe_client *cli_rpc_pipe_open_krb5(struct cli_state *cli,