diff options
author | Pali Rohár <pali@kernel.org> | 2024-10-06 20:16:24 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2025-03-26 22:51:58 +0300 |
commit | e14b64247438e5026b2fce8ffd7cdf80a87e2bfa (patch) | |
tree | eccd24457f17550a16e1be3558a4d52e4038b4d9 /rust/helpers/helpers.c | |
parent | be786e509c1af9b2dcf25c3d601f05c8c251f482 (diff) | |
download | linux-e14b64247438e5026b2fce8ffd7cdf80a87e2bfa.tar.xz |
cifs: Add new mount option -o nounicode to disable SMB1 UNICODE mode
SMB1 protocol supports non-UNICODE (8-bit OEM character set) and
UNICODE (UTF-16) modes.
Linux SMB1 client implements both of them but currently does not allow to
choose non-UNICODE mode when SMB1 server announce UNICODE mode support.
This change adds a new mount option -o nounicode to disable UNICODE mode
and force usage of non-UNICODE (8-bit OEM character set) mode.
This allows to test non-UNICODE implementation of Linux SMB1 client against
any SMB1 server, including modern and recent Windows SMB1 server.
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions