From 95b64f08a331aec2b520d43c2c4dda49ccc44e84 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 2 Aug 2012 08:48:11 +0200 Subject: s4:libcli: send the TCONX_FLAG_EXTENDED_RESPONSE flag metze --- source4/libcli/cliconnect.c | 2 +- source4/libcli/smb_composite/connect.c | 4 ++-- source4/libcli/util/clilsa.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/libcli') 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"; -- cgit