mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
s3: smbd: Moving lp_posix_pathnames() out of the lower-level code.
Prepare to remove lp_posix_pathnames() out of ms_has_wild(). Check before calls to ms_has_wild(). Fixup reply_search(). Don't think any client makes this call with POSIX extensions on, but this keeps the same old behavior. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
82fa4ecec5
commit
0db1ad97f8
@ -1749,7 +1749,9 @@ void reply_search(struct smb_request *req)
|
||||
* For a 'continue' search we have no string. So
|
||||
* check from the initial saved string.
|
||||
*/
|
||||
mask_contains_wcard = ms_has_wild(mask);
|
||||
if (!lp_posix_pathnames()) {
|
||||
mask_contains_wcard = ms_has_wild(mask);
|
||||
}
|
||||
dirtype = dptr_attr(sconn, dptr_num);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user