Closed bosim closed 3 years ago
Okay, Can you give me a tcpdump that captured the packets on problem ? and your client can connect with samba server ? If yes, please give me a tcpdump that captured packets between sonos SMB1 and samba.
On (20/07/21 11:42), Bo Simonsen wrote:
Jul 21 20:33:49 gateway kern.info kernel: ksmbd: ksmbd_lookup_dialect_by_name:216: client requested dialect ^BLM1.2X002 Jul 21 20:33:49 gateway kern.info kernel: ksmbd: ksmbd_lookup_dialect_by_name:216: client requested dialect ^BLANMAN2.1 Jul 21 20:33:49 gateway kern.info kernel: ksmbd: ksmbd_lookup_dialect_by_name:216: client requested dialect ^BNT LM 0.12 Jul 21 20:33:49 gateway kern.info kernel: ksmbd: ksmbd_lookup_dialect_by_name:216: client requested dialect ^BLM1.2X002 Jul 21 20:33:49 gateway kern.info kernel: ksmbd: ksmbd_lookup_dialect_by_name:216: client requested dialect ^BLANMAN2.1 Jul 21 20:33:49 gateway kern.info kernel: ksmbd: ksmbd_lookup_dialect_by_name:216: client requested dialect ^BNT LM 0.12 Jul 21 20:33:49 gateway kern.info kernel: ksmbd: ksmbd_lookup_dialect_by_name:216: client requested dialect ^BLM1.2X002
Hmm. I this off-by-one error? Those ^B don't look right in the %s dialect output.
-ss
Jul 21 20:33:50 gateway kern.info kernel: ksmbd: ksmbd_lookup_dialect_by_name:220: selected NT1 dialect Jul 21 20:33:50 gateway kern.info kernel: ksmbd: ksmbd_smb_negotiate_common:475: conn->dialect 0x2
Yep, But I can see a print that SMB1 dialect is selected, and there are no more logs after that.
See comment in #430
@bosim: Any news? Have you looked all https://github.com/cifsd-team/cifsd/issues/430 comments?
I am running the latest DDWRT build (43845), with syslog showing
Linux kernel CIFS/SMB SERVER 3.2.3 by Namjae Jeon <linkinjeon@kernel.org>
.I am trying to get my Sonos devices using the share on the DDWRT router, however it fails. The App loads for a while and then say it cannot connect.
I then ran
echo "all" > /sys/class/ksmbd-control/debug
to get the debug log which gave me:And then it stops. I tried with NT_1 as both min and max server version, same result.