summaryrefslogtreecommitdiff
path: root/source4/libcli/smb_composite/fsinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/smb_composite/fsinfo.c')
-rw-r--r--source4/libcli/smb_composite/fsinfo.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/libcli/smb_composite/fsinfo.c b/source4/libcli/smb_composite/fsinfo.c
index 2d8240572e..bf425ad7c8 100644
--- a/source4/libcli/smb_composite/fsinfo.c
+++ b/source4/libcli/smb_composite/fsinfo.c
@@ -153,6 +153,14 @@ struct composite_context *smb_composite_fsinfo_send(struct smbcli_tree *tree,
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);
+
c->state = COMPOSITE_STATE_IN_PROGRESS;
state->stage = FSINFO_CONNECT;
c->event_ctx = talloc_reference(c, tree->session->transport->socket->event.ctx);