mirror of
https://github.com/samba-team/samba.git
synced 2025-03-24 10:50:22 +03:00
s3: smbd: In unix_convert_step_stat() remove use of state->name_was_wildcard.
It can never be true. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
e6f0269817
commit
0ecb5e3e3f
@ -688,8 +688,8 @@ static NTSTATUS unix_convert_step_stat(struct uc_state *state)
|
||||
if (state->posix_pathnames) {
|
||||
/*
|
||||
* For posix_pathnames, we're done.
|
||||
* Don't blunder into the name_has_wildcard OR
|
||||
* get_real_filename() codepaths as they may
|
||||
* Don't blunder into the
|
||||
* get_real_filename() codepath as they may
|
||||
* be doing case insensitive lookups. So when
|
||||
* creating a new POSIX directory Foo they might
|
||||
* match on name foo.
|
||||
@ -738,10 +738,6 @@ static NTSTATUS unix_convert_step_stat(struct uc_state *state)
|
||||
* Try to find this part of the path in the directory.
|
||||
*/
|
||||
|
||||
if (state->name_has_wildcard) {
|
||||
return unix_convert_step_search_fail(state);
|
||||
}
|
||||
|
||||
dname = (struct smb_filename) {
|
||||
.base_name = state->dirpath,
|
||||
.twrp = state->smb_fname->twrp,
|
||||
|
Loading…
x
Reference in New Issue
Block a user