Pass session options around; saves another use of global_loadparm.
[samba.git] / source4 / libcli / smb_composite / fsinfo.c
index cd6e98547b06e79e7cb207a976f3fd49964c5792..dc5327a29cac4b424c0c58c183e073e2190240de 100644 (file)
@@ -155,6 +155,7 @@ struct composite_context *smb_composite_fsinfo_send(struct smbcli_tree *tree,
        state->connect->in.workgroup    = io->in.workgroup;
 
        state->connect->in.options = tree->session->transport->options;
+       state->connect->in.session_options = tree->session->options;
 
        c->state = COMPOSITE_STATE_IN_PROGRESS;
        state->stage = FSINFO_CONNECT;