[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] 
>  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 512
>[2022/12/14 06:22:51.479564,  3] 
>  NT error packet at ../../source3/smbd/trans2.c(6076) cmd=50 

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