Barry de Graaff
2022-Dec-14 06:37 UTC
[Samba] Samba support for Sonos S1 versions 4.15 and above
It does make a difference in that it logs in now, but still not working. adduser guest # set empty password smbpasswd -a guest chown guest:guest /public -R chmod 777 /public -R [2022/12/14 06:22:51.479552, 3] ../../source3/smbd/trans2.c:6068(call_trans2qfilepathinfo) call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 512 [2022/12/14 06:22:51.479564, 3] ../../source3/smbd/error.c:78(error_packet_set) NT error packet at ../../source3/smbd/trans2.c(6076) cmd=50 (SMBtrans2) NT_STATUS_INVALID_LEVEL [2022/12/14 06:22:51.482398, 5] ../../source3/smbd/process.c:556(receive_smb_talloc) receive_smb_raw_talloc failed for client ptr=0x55b7b19d0cf0,id=1,addr=ipv4:192.168.1.67:35503 read error = NT_STATUS_END_OF_FILE. Complete logs are at: https://barrydegraaff.nl/share/logs2.tar.gz [global] #Required for Sonos S1 server min protocol = NT1 client min protocol = NT1 client use spnego = no client ntlmv2 auth = no ntlm auth = true ntlm auth = ntlmv1-permitted workgroup = WORKGROUP server string = Samba Server Version %v security = USER map to guest = Bad User log file = /var/log/samba/log.%m max log size = 50 idmap config * : backend = tdb cups options = raw ntlm auth = true unix extensions = yes log level = 5 # User defined share [public] path = /public read only = Yes guest ok = Yes browseable = Yes public = Yes unix extensions = yes
Jeremy Allison
2022-Dec-14 17:42 UTC
[Samba] Samba support for Sonos S1 versions 4.15 and above
On Wed, Dec 14, 2022 at 07:37:54AM +0100, Barry de Graaff wrote:>It does make a difference in that it logs in now, but still not working. > >adduser guest ># set empty password >smbpasswd -a guest >chown guest:guest /public -R >chmod 777 /public -R > >[2022/12/14 06:22:51.479552, 3] >../../source3/smbd/trans2.c:6068(call_trans2qfilepathinfo) > call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 512 >[2022/12/14 06:22:51.479564, 3] >../../source3/smbd/error.c:78(error_packet_set) > NT error packet at ../../source3/smbd/trans2.c(6076) cmd=50 >(SMBtrans2) NT_STATUS_INVALID_LEVELSo that's the problem. But TRANSACT2_QPATHINFO: level = 512 == 0x200. And in the source code we have: #define SMB_QUERY_FILE_UNIX_BASIC 0x200 /* UNIX File Info*/ So this smbd is refusing a SMB1 UNIX info level. That should be allowed when "unix extensions = yes". Who built this smbd ?