mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
s3:libsmb: don't pass down FLAG_CASELESS_PATHNAMES and FLAGS2_DFS_PATHNAMES anymore
They're now handled at the smbXcli_conn and smbXcli_tcon layer. Bug: https://bugzilla.samba.org/show_bug.cgi?id=10200 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
committed by
Michael Adam
parent
226dde2879
commit
451b11251f
@ -76,17 +76,6 @@ struct tevent_req *cli_smb_req_create(TALLOC_CTX *mem_ctx,
|
||||
}
|
||||
*state->ptr = state;
|
||||
|
||||
if (cli->case_sensitive) {
|
||||
clear_flags |= FLAG_CASELESS_PATHNAMES;
|
||||
} else {
|
||||
/* Default setting, case insensitive. */
|
||||
additional_flags |= FLAG_CASELESS_PATHNAMES;
|
||||
}
|
||||
|
||||
if ((smb1cli_conn_capabilities(cli->conn) & CAP_DFS) && cli->dfsroot) {
|
||||
additional_flags2 |= FLAGS2_DFS_PATHNAMES;
|
||||
}
|
||||
|
||||
state->req = smb1cli_req_create(state, ev, cli->conn, smb_command,
|
||||
additional_flags, clear_flags,
|
||||
additional_flags2, clear_flags2,
|
||||
@ -134,17 +123,6 @@ struct tevent_req *cli_smb_send(TALLOC_CTX *mem_ctx,
|
||||
}
|
||||
*state->ptr = state;
|
||||
|
||||
if (cli->case_sensitive) {
|
||||
clear_flags |= FLAG_CASELESS_PATHNAMES;
|
||||
} else {
|
||||
/* Default setting, case insensitive. */
|
||||
additional_flags |= FLAG_CASELESS_PATHNAMES;
|
||||
}
|
||||
|
||||
if ((smb1cli_conn_capabilities(cli->conn) & CAP_DFS) && cli->dfsroot) {
|
||||
additional_flags2 |= FLAGS2_DFS_PATHNAMES;
|
||||
}
|
||||
|
||||
state->req = smb1cli_req_send(state, ev, cli->conn, smb_command,
|
||||
additional_flags, clear_flags,
|
||||
additional_flags2, clear_flags2,
|
||||
|
Reference in New Issue
Block a user