Bug 15371 - Accessing directories with Chinese names does not work
Summary: Accessing directories with Chinese names does not work
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: File services (show other bugs)
Version: 4.15.13
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-09 13:39 UTC by James Wah
Modified: 2023-05-09 13:40 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Wah 2023-05-09 13:39:58 UTC
Using Samba 4.15.13 (from Ubuntu), I can see folders with names like 猎罪图鉴, but I can't access them. Looking at the wire traffic the SMB create request succeeds, but the subsequent find request fails with STATUS_OBJECT_NAME_INVALID.

After some digging in the source I found that changing `mangled names` from the default `illegal` to `no` made the directories accessible; the mangler seems to be choking on the filenames.

Is this expected behaviour? From my limited understanding I would have expected "mangled names = illegal" to handle all sorts of filenames.

Thanks for your time looking at this!