diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libcli/smb2/connect.c | 1 | ||||
-rw-r--r-- | source4/torture/smb2/compound.c | 3 | ||||
-rw-r--r-- | source4/torture/smb2/notify.c | 1 | ||||
-rw-r--r-- | source4/torture/smb2/util.c | 1 |
4 files changed, 6 insertions, 0 deletions
diff --git a/source4/libcli/smb2/connect.c b/source4/libcli/smb2/connect.c index 8db7a622a2..5cdf258e7c 100644 --- a/source4/libcli/smb2/connect.c +++ b/source4/libcli/smb2/connect.c @@ -242,6 +242,7 @@ static void smb2_connect_tcon_done(struct smb2_request *smb2req) } smb2cli_tcon_set_values(state->tree->smbXcli, + state->session->smbXcli, state->tcon.out.tid, state->tcon.out.share_type, state->tcon.out.flags, diff --git a/source4/torture/smb2/compound.c b/source4/torture/smb2/compound.c index da4de3a739..6b65d8a487 100644 --- a/source4/torture/smb2/compound.c +++ b/source4/torture/smb2/compound.c @@ -88,6 +88,7 @@ static bool test_compound_related1(struct torture_context *tctx, tree->smbXcli = smbXcli_tcon_create(tree); smb2cli_tcon_set_values(tree->smbXcli, + NULL, /* session */ 0xFFFFFFFF, /* tcon_id */ 0, /* type */ 0, /* flags */ @@ -166,6 +167,7 @@ static bool test_compound_related2(struct torture_context *tctx, tree->smbXcli = smbXcli_tcon_create(tree); smb2cli_tcon_set_values(tree->smbXcli, + NULL, /* session */ 0xFFFFFFFF, /* tcon_id */ 0, /* type */ 0, /* flags */ @@ -378,6 +380,7 @@ static bool test_compound_invalid2(struct torture_context *tctx, tree->smbXcli = smbXcli_tcon_create(tree); smb2cli_tcon_set_values(tree->smbXcli, + NULL, /* session */ 0xFFFFFFFF, /* tcon_id */ 0, /* type */ 0, /* flags */ diff --git a/source4/torture/smb2/notify.c b/source4/torture/smb2/notify.c index 4c53d65b2a..e83b099958 100644 --- a/source4/torture/smb2/notify.c +++ b/source4/torture/smb2/notify.c @@ -1821,6 +1821,7 @@ static struct smb2_tree *secondary_tcon(struct smb2_tree *tree, } smb2cli_tcon_set_values(tree1->smbXcli, + tree1->session->smbXcli, tcon.smb2.out.tid, tcon.smb2.out.share_type, tcon.smb2.out.flags, diff --git a/source4/torture/smb2/util.c b/source4/torture/smb2/util.c index 250c4a27c7..71e87f3961 100644 --- a/source4/torture/smb2/util.c +++ b/source4/torture/smb2/util.c @@ -296,6 +296,7 @@ bool torture_smb2_tree_connect(struct torture_context *tctx, } smb2cli_tcon_set_values(tree->smbXcli, + tree->session->smbXcli, tcon.out.tid, tcon.out.share_type, tcon.out.flags, |