New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SMB1 test findings #430
Comments
What is problem ?
In my test, It work fine. can you share wireshark dump ? and what kernel version did you use ? |
It seems so, I do not get the error when connecting to samba3 also using SMB1.
Sure will make a dump. So what
Notice the Security blob Length.. The communication with the samba4 server is identical except for it returns a security blob length 0 (and no blob):
So the packets in both cases are in the sequence: Protocol negotiate request -> Protocol negotiate response -> AndX request NTLMSSP_NEGOTIATE -> AndX Response NTLMSSP_CHALLENGE -> AndX Request NTLMSSP_AUTH -> AndX Response.
|
@namjaejeon Any news here? Do you still need the dump? Meanwhile another user has reported about the problem: |
Yes. |
@bosim: @namjaejeon needs an answer to this comment... |
Sorry for delay. DD-Wrt now has the patch [1], and it still does not work, but now I see the following in the log
[1] see changeset https://svn.dd-wrt.com/changeset/44696 |
BTW the |
I seem to have missed in the log output:
Is the des cipher provides by the kernel, so needs to be compiled in seperately? |
Yay!
|
Cool~ If so, This issue is also fixed ? |
@namjaejeon Almost I still get the cifs mount error. |
@bosim I requested a packet dump to you before. it is needed to find the clue. |
@bosim: Any news? |
@bosim: Any news? |
Regarding cifs mount, I still see:
where to send packet dump when I get it done? I am a bit confused here, last time I found a bug it was related to DD-WRT so, if you guys successfully can run the cifs mount command, with I am on Debian bullseye (kernel 5.10). |
Turns out it works using |
Because the Sonos device needs SMB1 which fails loading share from cifsd (#428), I decided to do a bit of testing on my Debian Buster machine to see if the SMB1 implementation is working as expected. I configured
smb.conf
(using DDWRT) withNT1
as both minimum and maximum protocol.Here are my findings:
smbclient
Login works,
ls, put, rm
works. However onls
I see:As far as I recall if I run with a higher smb version the call works.
gvfs-mount
Ran
gvfs-mount smb://host/share
and then went to/run/user/uid/gvfs/<share dir>
.Login works, writing, retrieving, deletion works.
cifs mount
Ran
sudo mount -t cifs -o username=user,vers=1.0 //host/share /tmp/mount
It does not work:
and
dmesg
says:I did try to run wireshark while doing this test and I found, that the response of
NTLMSSP_AUTH
did return a security blob length of138
, but with no security blob.Should be fairly easy to test with a usual Linux machine.
The text was updated successfully, but these errors were encountered: