1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00
Jeremy Allison 3ca8221864 s3: smbd: Add filename_convert_smb1_search_path() - deals with SMB1 search pathnames.
SMB1search and trans2 findfirst are unique in that
they are the only passed in pathnames that can contain
a terminal wildcard component.

Deal with these two special cases with this new function
that strips off the terminal wildcard and returns as
the mask, and pass the non-wildcard parent directory
component through the standard filename_convert().

Uses new helper function strip_gmt_from_raw_dfs().

When SMB1search and trans2 findfirst have been
converted to use this function, we can strip all
wildcard handling out of filename_convert() as
we now know it will only ever be given valid
pathnames.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
2021-12-11 07:17:28 +00:00
..
2020-12-16 09:08:30 +00:00
2021-11-11 19:08:37 +00:00
2020-11-04 18:55:39 +00:00
2020-12-16 09:08:30 +00:00
2020-01-13 21:09:01 +00:00
2021-10-08 19:28:31 +00:00
2021-12-10 14:02:30 +00:00
2021-03-31 06:13:39 +00:00
2020-12-16 09:08:30 +00:00