linux-cifs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* fix for "CIFS: DFS namespaces with non-ASCII symbols cannot be mounted" #215440 bug
@ 2022-01-14 19:52 Eugene Korenevsky
  0 siblings, 0 replies; only message in thread
From: Eugene Korenevsky @ 2022-01-14 19:52 UTC (permalink / raw)
  To: linux-cifs; +Cc: Steve French

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-14 19:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-14 19:52 fix for "CIFS: DFS namespaces with non-ASCII symbols cannot be mounted" #215440 bug Eugene Korenevsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).