diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-08-02 08:48:11 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-08-02 10:54:18 +0200 |
commit | e9562530d91ba66f9e60886ce0125eb146a15ce5 (patch) | |
tree | a029381f6cfd4aac8d82821e8faf8af3c3132947 /source4 | |
parent | 95b64f08a331aec2b520d43c2c4dda49ccc44e84 (diff) | |
download | samba-e9562530d91ba66f9e60886ce0125eb146a15ce5.tar.gz |
s4:torture: send the TCONX_FLAG_EXTENDED_RESPONSE flag
metze
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Aug 2 10:54:18 CEST 2012 on sn-devel-104
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/raw/context.c | 6 | ||||
-rw-r--r-- | source4/torture/raw/lock.c | 2 | ||||
-rw-r--r-- | source4/torture/raw/notify.c | 2 | ||||
-rw-r--r-- | source4/torture/rpc/samba3rpc.c | 2 | ||||
-rw-r--r-- | source4/torture/util_smb.c | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/source4/torture/raw/context.c b/source4/torture/raw/context.c index d9d7820e5fd..e10e77535dd 100644 --- a/source4/torture/raw/context.c +++ b/source4/torture/raw/context.c @@ -292,7 +292,7 @@ static bool test_tree(struct torture_context *tctx, struct smbcli_state *cli) tree = smbcli_tree_init(cli->session, tctx, false); tcon.generic.level = RAW_TCON_TCONX; - tcon.tconx.in.flags = 0; + tcon.tconx.in.flags = TCONX_FLAG_EXTENDED_RESPONSE; tcon.tconx.in.password = data_blob(NULL, 0); tcon.tconx.in.path = talloc_asprintf(tctx, "\\\\%s\\%s", host, share); tcon.tconx.in.device = "A:"; @@ -412,7 +412,7 @@ static bool test_tree_ulogoff(struct torture_context *tctx, struct smbcli_state torture_comment(tctx, "create a tree context on the with vuid1\n"); tree = smbcli_tree_init(session1, tctx, false); tcon.generic.level = RAW_TCON_TCONX; - tcon.tconx.in.flags = 0; + tcon.tconx.in.flags = TCONX_FLAG_EXTENDED_RESPONSE; tcon.tconx.in.password = data_blob(NULL, 0); tcon.tconx.in.path = talloc_asprintf(tctx, "\\\\%s\\%s", host, share); tcon.tconx.in.device = "A:"; @@ -765,7 +765,7 @@ static bool test_pid_2tcon(struct torture_context *tctx, tree = smbcli_tree_init(cli->session, tctx, false); tcon.generic.level = RAW_TCON_TCONX; - tcon.tconx.in.flags = 0; + tcon.tconx.in.flags = TCONX_FLAG_EXTENDED_RESPONSE; tcon.tconx.in.password = data_blob(NULL, 0); tcon.tconx.in.path = talloc_asprintf(tctx, "\\\\%s\\%s", host, share); tcon.tconx.in.device = "A:"; diff --git a/source4/torture/raw/lock.c b/source4/torture/raw/lock.c index 0092a94c123..c2e555147bb 100644 --- a/source4/torture/raw/lock.c +++ b/source4/torture/raw/lock.c @@ -807,7 +807,7 @@ static bool test_async(struct torture_context *tctx, host = torture_setting_string(tctx, "host", NULL); tree = smbcli_tree_init(session, tctx, false); tcon.generic.level = RAW_TCON_TCONX; - tcon.tconx.in.flags = 0; + tcon.tconx.in.flags = TCONX_FLAG_EXTENDED_RESPONSE; tcon.tconx.in.password = data_blob(NULL, 0); tcon.tconx.in.path = talloc_asprintf(tctx, "\\\\%s\\%s", host, share); tcon.tconx.in.device = "A:"; diff --git a/source4/torture/raw/notify.c b/source4/torture/raw/notify.c index d9253f0353b..a9baed60be4 100644 --- a/source4/torture/raw/notify.c +++ b/source4/torture/raw/notify.c @@ -1550,7 +1550,7 @@ static struct smbcli_tree *secondary_tcon(struct smbcli_state *cli, tree = smbcli_tree_init(cli->session, tctx, false); tcon.generic.level = RAW_TCON_TCONX; - tcon.tconx.in.flags = 0; + tcon.tconx.in.flags = TCONX_FLAG_EXTENDED_RESPONSE; tcon.tconx.in.password = data_blob(NULL, 0); tcon.tconx.in.path = talloc_asprintf(tctx, "\\\\%s\\%s", host, share); tcon.tconx.in.device = "A:"; diff --git a/source4/torture/rpc/samba3rpc.c b/source4/torture/rpc/samba3rpc.c index 2a905ea3c2d..a71ae52aca9 100644 --- a/source4/torture/rpc/samba3rpc.c +++ b/source4/torture/rpc/samba3rpc.c @@ -1727,7 +1727,7 @@ static NTSTATUS secondary_tcon(struct torture_context *tctx, } tcon.generic.level = RAW_TCON_TCONX; - tcon.tconx.in.flags = 0; + tcon.tconx.in.flags = TCONX_FLAG_EXTENDED_RESPONSE; tcon.tconx.in.password = data_blob(NULL, 0); tcon.tconx.in.path = sharename; tcon.tconx.in.device = "?????"; diff --git a/source4/torture/util_smb.c b/source4/torture/util_smb.c index 324288b0e30..8f2af8c5deb 100644 --- a/source4/torture/util_smb.c +++ b/source4/torture/util_smb.c @@ -868,7 +868,7 @@ NTSTATUS torture_second_tcon(TALLOC_CTX *mem_ctx, } tcon.generic.level = RAW_TCON_TCONX; - tcon.tconx.in.flags = 0; + tcon.tconx.in.flags = TCONX_FLAG_EXTENDED_RESPONSE; /* Ignore share mode security here */ tcon.tconx.in.password = data_blob(NULL, 0); |