Skip to contentSkip to conversation

fix for "CIFS: DFS namespaces with non-ASCII symbols cannot be mounted" #215440 bug

DISCUSSION Eugene Korenevsky 1 participant 1 message Jan 14, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

The following patchset fixes the bug.

The test case (verified by me):

1. At Windows, create DFS namespace with name containing non-ASCII symbols (for example дфс)

2. At Linux SMB client (kernel must be built with
CONFIG_CIFS_DFS_UPCALL) execute command

/sbin/mount.cifs //<smb_server>/дфс /tmp/dfs -o domain=...,user=...,password=...

3. ls /tmp/dfs/<existing_dfs_ref>
-> (before the patchset applied) error "No such file or directory" -> (after the patchset applied) result of successful ls

4. ls /tmp/dfs/<non_existing_dfs_ref>
-> (before the patchset applied) error "No such file or directory" -> (after the patchset applied) error "No such file or directory"

--
Eugene