mirror of
https://github.com/samba-team/samba.git
synced 2025-08-29 13:49:30 +03:00
s3: smbd: Add case_sensitive to struct smb_Dir.
Not yet used. This allows it to be independent of conn settings on a per-handle-basis for SMB2 posix. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
committed by
Ralph Boehme
parent
1b130decc2
commit
af35c684a3
@ -59,6 +59,7 @@ struct smb_Dir {
|
||||
struct name_cache_entry *name_cache;
|
||||
unsigned int name_cache_index;
|
||||
unsigned int file_number;
|
||||
bool case_sensitive;
|
||||
files_struct *fsp; /* Back pointer to containing fsp, only
|
||||
set from OpenDir_fsp(). */
|
||||
};
|
||||
@ -1549,6 +1550,7 @@ static struct smb_Dir *OpenDir_fsp(TALLOC_CTX *mem_ctx, connection_struct *conn,
|
||||
goto fail;
|
||||
}
|
||||
dir_hnd->fsp = fsp;
|
||||
dir_hnd->case_sensitive = conn->case_sensitive;
|
||||
|
||||
talloc_set_destructor(dir_hnd, smb_Dir_destructor);
|
||||
|
||||
|
Reference in New Issue
Block a user