[Samba] Samba support for Sonos S1 versions 4.15 and above

Jeremy Allison jra at samba.org
Wed Dec 14 17:42:51 UTC 2022


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_LEVEL

So 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 ?



More information about the samba mailing list