s4:torture: send the TCONX_FLAG_EXTENDED_RESPONSE flag
authorStefan Metzmacher <metze@samba.org>
Thu, 2 Aug 2012 06:48:11 +0000 (08:48 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 2 Aug 2012 08:54:18 +0000 (10:54 +0200)
metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Aug  2 10:54:18 CEST 2012 on sn-devel-104

source4/torture/raw/context.c
source4/torture/raw/lock.c
source4/torture/raw/notify.c
source4/torture/rpc/samba3rpc.c
source4/torture/util_smb.c

index d9d7820e5fdc9451c5181ec65f655a20be91448e..e10e77535dd1554ee86044d99d1b16a44cc66a17 100644 (file)
@@ -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:";    
index 0092a94c12329082aa0ca23a09a55aac0a0bb461..c2e555147bba8c26cdb47c4707460fbe381a5b61 100644 (file)
@@ -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:";
index d9253f0353bbf0692a07889125e78fa752eb066a..a9baed60be450f155f39957a19c34083830b86e0 100644 (file)
@@ -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:";    
index 2a905ea3c2d223ec6b78630a5970c9c39df772ed..a71ae52aca90beeb5e74a96b8c1c9ed66572099d 100644 (file)
@@ -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 = "?????";
index 324288b0e302e09607ebe4e8bd769c2dcacfb403..8f2af8c5deb57517404fd9f8d994910777290064 100644 (file)
@@ -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);