summaryrefslogtreecommitdiff
path: root/source3/libsmb/clitrans.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb/clitrans.c')
-rw-r--r--source3/libsmb/clitrans.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/source3/libsmb/clitrans.c b/source3/libsmb/clitrans.c
index 08fda5fdb5..54621348f3 100644
--- a/source3/libsmb/clitrans.c
+++ b/source3/libsmb/clitrans.c
@@ -73,16 +73,6 @@ struct tevent_req *cli_trans_send(
return NULL;
}
*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_trans_send(state, ev,
cli->conn, cmd,
@@ -169,17 +159,6 @@ NTSTATUS cli_trans(TALLOC_CTX *mem_ctx, struct cli_state *cli,
uint16_t additional_flags2 = 0;
uint16_t clear_flags2 = 0;
- 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;
- }
-
status = smb1cli_trans(mem_ctx,
cli->conn, trans_cmd,
additional_flags, clear_flags,