The branch, master has been updated
       via  e956253 s4:torture: send the TCONX_FLAG_EXTENDED_RESPONSE flag
       via  95b64f0 s4:libcli: send the TCONX_FLAG_EXTENDED_RESPONSE flag
      from  02dcf05 heimdal: fixed -Werror=format error in com_err

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit e9562530d91ba66f9e60886ce0125eb146a15ce5
Author: Stefan Metzmacher <[email protected]>
Date:   Thu Aug 2 08:48:11 2012 +0200

    s4:torture: send the TCONX_FLAG_EXTENDED_RESPONSE flag
    
    metze
    
    Autobuild-User(master): Stefan Metzmacher <[email protected]>
    Autobuild-Date(master): Thu Aug  2 10:54:18 CEST 2012 on sn-devel-104

commit 95b64f08a331aec2b520d43c2c4dda49ccc44e84
Author: Stefan Metzmacher <[email protected]>
Date:   Thu Aug 2 08:48:11 2012 +0200

    s4:libcli: send the TCONX_FLAG_EXTENDED_RESPONSE flag
    
    metze

-----------------------------------------------------------------------

Summary of changes:
 source4/libcli/cliconnect.c            |    2 +-
 source4/libcli/smb_composite/connect.c |    4 ++--
 source4/libcli/util/clilsa.c           |    2 +-
 source4/torture/raw/context.c          |    6 +++---
 source4/torture/raw/lock.c             |    2 +-
 source4/torture/raw/notify.c           |    2 +-
 source4/torture/rpc/samba3rpc.c        |    2 +-
 source4/torture/util_smb.c             |    2 +-
 8 files changed, 11 insertions(+), 11 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/libcli/cliconnect.c b/source4/libcli/cliconnect.c
index 45d8d2a..d680a7e 100644
--- a/source4/libcli/cliconnect.c
+++ b/source4/libcli/cliconnect.c
@@ -124,7 +124,7 @@ NTSTATUS smbcli_tconX(struct smbcli_state *cli, const char 
*sharename,
 
        /* setup a tree connect */
        tcon.generic.level = RAW_TCON_TCONX;
-       tcon.tconx.in.flags = 0;
+       tcon.tconx.in.flags = TCONX_FLAG_EXTENDED_RESPONSE;
        if (cli->transport->negotiate.sec_mode & NEGOTIATE_SECURITY_USER_LEVEL) 
{
                tcon.tconx.in.password = data_blob(NULL, 0);
        } else if (cli->transport->negotiate.sec_mode & 
NEGOTIATE_SECURITY_CHALLENGE_RESPONSE) {
diff --git a/source4/libcli/smb_composite/connect.c 
b/source4/libcli/smb_composite/connect.c
index 80ce556..3453ec9 100644
--- a/source4/libcli/smb_composite/connect.c
+++ b/source4/libcli/smb_composite/connect.c
@@ -110,7 +110,7 @@ static NTSTATUS connect_session_setup_anon(struct 
composite_context *c,
 
        /* connect to a share using a tree connect */
        state->io_tcon->generic.level = RAW_TCON_TCONX;
-       state->io_tcon->tconx.in.flags = 0;
+       state->io_tcon->tconx.in.flags = TCONX_FLAG_EXTENDED_RESPONSE;
        state->io_tcon->tconx.in.password = data_blob(NULL, 0); 
        
        state->io_tcon->tconx.in.path = talloc_asprintf(state->io_tcon, 
@@ -195,7 +195,7 @@ static NTSTATUS connect_session_setup(struct 
composite_context *c,
 
        /* connect to a share using a tree connect */
        state->io_tcon->generic.level = RAW_TCON_TCONX;
-       state->io_tcon->tconx.in.flags = 0;
+       state->io_tcon->tconx.in.flags = TCONX_FLAG_EXTENDED_RESPONSE;
        state->io_tcon->tconx.in.password = data_blob(NULL, 0); 
        
        state->io_tcon->tconx.in.path = talloc_asprintf(state->io_tcon, 
diff --git a/source4/libcli/util/clilsa.c b/source4/libcli/util/clilsa.c
index 4a81457..2720a50 100644
--- a/source4/libcli/util/clilsa.c
+++ b/source4/libcli/util/clilsa.c
@@ -68,7 +68,7 @@ static NTSTATUS smblsa_connect(struct smbcli_state *cli)
 
        /* connect to IPC$ */
        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 = "ipc$";
        tcon.tconx.in.device = "IPC";   
diff --git a/source4/torture/raw/context.c b/source4/torture/raw/context.c
index d9d7820..e10e775 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 0092a94..c2e5551 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 d9253f0..a9baed6 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 2a905ea..a71ae52 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 324288b..8f2af8c 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);


-- 
Samba Shared Repository

Reply via email to