[PATCH][SMB3] allow files to be created with backslash in file name
Jeremy Allison
jra at samba.org
Sat Jan 2 02:58:37 UTC 2021
On Fri, Jan 01, 2021 at 05:57:08PM -0500, Steve French wrote:
>4.12.4 Ubuntu
>
>On Fri, Jan 1, 2021, 14:58 Jeremy Allison <jra at samba.org> wrote:
>> >is_bad_finfo_name: bad finfo->name
>> >NT_STATUS_INVALID_NETWORK_RESPONSE listing \*
>> >smb: \> SMBecho failed (NT_STATUS_CONNECTION_DISCONNECTED). The
>> >connection is disconnected now
>>
>> Can you log a bug please and give full setup instructions
>> to reproduce. This isn't enough to show me what the bug is.
>> I need a directory listing from the Server side to show
>> me what files are in the root of the share.
>>
>> Also, you neglect to tell me what Samba version you are
>> using (which is a pre-requisite for a bug report Steve,
>> you know this :-).
To channel Rowland, this isn't a bug report, this is an
anecdote :-).
Here's what I did to show this doesn't happen.
$ mkdir /tmp/chartest
$ touch /tmp/chartest/fil\\e.dat
$ ls -l /tmp/chartest/
total 0
-rw-rw-r-- 1 user user 0 Jan 1 18:52 'fil\e.dat'
Edit /usr/local/samba/etc/smb.conf, add:
[chartest]
path = /tmp/chartest
guest ok = yes
read only = no
Restart smbd. Run:
$ /usr/local/samba/bin/smbclient //127.0.0.1/chartest -Uuser%password -mSMB3
smb: \> ls
. D 0 Fri Jan 1 18:52:10 2021
.. D 0 Fri Jan 1 18:51:38 2021
FI7KDO~J.DAT N 0 Fri Jan 1 18:52:10 2021
IF YOU WANT ME TO INVESTIGATE THIS IS NEED A SIMILAR
LEVEL OF DETAIL (sigh). But I *know* you *know*
this...
More information about the samba-technical
mailing list