From: Eugene Korenevsky <ekorenevsky@astralinux.ru>
To: linux-cifs@vger.kernel.org
Cc: Steve French <sfrench@samba.org>
Subject: fix for "CIFS: DFS namespaces with non-ASCII symbols cannot be mounted" #215440 bug
Date: Fri, 14 Jan 2022 22:52:22 +0300 [thread overview]
Message-ID: <YeHUds+PLW0eBfHG@himera.home> (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
reply other threads:[~2022-01-14 19:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YeHUds+PLW0eBfHG@himera.home \
--to=ekorenevsky@astralinux.ru \
--cc=linux-cifs@vger.kernel.org \
--cc=sfrench@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).