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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux