mirror of
https://github.com/samba-team/samba.git
synced 2025-02-23 09:57:40 +03:00
s4:libcli: send the TCONX_FLAG_EXTENDED_RESPONSE flag
metze
This commit is contained in:
parent
02dcf05914
commit
95b64f08a3
@ -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) {
|
||||
|
@ -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,
|
||||
|
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user