diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-08-02 08:48:11 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-08-02 09:00:24 +0200 |
commit | 95b64f08a331aec2b520d43c2c4dda49ccc44e84 (patch) | |
tree | 4d70c55aaf273f88465d5480ecc256c993ad5d2a | |
parent | 02dcf059149174beab3528d201fd36e313ba5ee5 (diff) | |
download | samba-95b64f08a331aec2b520d43c2c4dda49ccc44e84.tar.gz samba-95b64f08a331aec2b520d43c2c4dda49ccc44e84.tar.bz2 samba-95b64f08a331aec2b520d43c2c4dda49ccc44e84.zip |
s4:libcli: send the TCONX_FLAG_EXTENDED_RESPONSE flag
metze
-rw-r--r-- | source4/libcli/cliconnect.c | 2 | ||||
-rw-r--r-- | source4/libcli/smb_composite/connect.c | 4 | ||||
-rw-r--r-- | source4/libcli/util/clilsa.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/source4/libcli/cliconnect.c b/source4/libcli/cliconnect.c index 45d8d2a776..d680a7e121 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 80ce5562d2..3453ec94cf 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 4a81457569..2720a50c83 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"; |