diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-01-02 18:39:15 -0600 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-01-02 12:48:04 -0600 |
commit | 969b8579c755441092e27b499ecedbd7d725816d (patch) | |
tree | 2b6ed0049c7afc7624ec81b559aad1d179a6b398 /source4/libcli/smb_composite/fetchfile.c | |
parent | 40acf23a927b7fcabad621cadabb9c7476c8d5e9 (diff) | |
download | samba-969b8579c755441092e27b499ecedbd7d725816d.tar.gz samba-969b8579c755441092e27b499ecedbd7d725816d.tar.bz2 samba-969b8579c755441092e27b499ecedbd7d725816d.zip |
r26646: libcli/smb_composite: Allow specifying SMB parameters in smb_composite_connect structure. AFAIK no global variables will now be used when doing RPC client connections.
(This used to be commit 0ef75e4e3cb0e1bd10e367a00f5e9b725587c40a)
Diffstat (limited to 'source4/libcli/smb_composite/fetchfile.c')
-rw-r--r-- | source4/libcli/smb_composite/fetchfile.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/libcli/smb_composite/fetchfile.c b/source4/libcli/smb_composite/fetchfile.c index f3934a2123..893eb854f5 100644 --- a/source4/libcli/smb_composite/fetchfile.c +++ b/source4/libcli/smb_composite/fetchfile.c @@ -147,6 +147,14 @@ struct composite_context *smb_composite_fetchfile_send(struct smb_composite_fetc state->connect->in.fallback_to_anonymous = false; state->connect->in.workgroup = io->in.workgroup; + state->connect->in.max_xmit = lp_max_xmit(global_loadparm); + state->connect->in.max_mux = lp_maxmux(global_loadparm); + state->connect->in.ntstatus_support = lp_nt_status_support(global_loadparm); + state->connect->in.max_protocol = lp_cli_maxprotocol(global_loadparm); + state->connect->in.unicode = lp_unicode(global_loadparm); + state->connect->in.use_spnego = lp_use_spnego(global_loadparm) && + lp_nt_status_support(global_loadparm); + state->creq = smb_composite_connect_send(state->connect, state, lp_resolve_context(global_loadparm), event_ctx); if (state->creq == NULL) goto failed; |