On 17/01/2023 15:56, Gilles via samba wrote:> On 17/01/2023 15:07, Rowland Penny via samba wrote: >> What is 'err 53' ?? What version of Windows 10 ? Some of them have >> guest access turned off by default and the only way to get guest >> access (even to a Samba server) is to turn it back on. > > It occurs when I run "net view \\samba" on a Windows 10 (10.0.19045) > client. It's an older Samba (4.5.16; Yes, i will upgrade Debian and thus > Samba in the coming weeks). > > I'll turn it on temporarily until I've upgraded Samba. > > ========> c:\Users\joe\Downloads>net view > System error 1231 has occurred. The network location cannot be reached. > > c:\Users\joe\Downloads>net view \\samba > System error 53 has occurred. The network path was not found. > ========> > Thank you. > >Ah, 'net view' depends on SMBv1 and that is going away. I think we need to see your smb.conf, so we can advise you on what should be in it when you upgrade to Debian 11 from stretch. Or to put it another way, I think you need to find another way of doing what 'net view' is doing now. Rowland
On 17/01/2023 17:08, Rowland Penny via samba wrote:> ========>> c:\Users\joe\Downloads>net view >> System error 1231 has occurred. The network location cannot be reached. >> >> c:\Users\joe\Downloads>net view \\samba >> System error 53 has occurred. The network path was not found. >> ========> Ah, 'net view' depends on SMBv1 and that is going away. I think we > need to see your smb.conf, so we can advise you on what should be in > it when you upgrade to Debian 11 from stretch.? Or to put it another > way, I think you need to find another way of doing what 'net view' is > doing now.I posted it in my first original message: ==================[global] ??????? bind interfaces only = Yes ??????? interfaces = 192.168.0.15/255.255.255.0 127.0.0.1/255.255.255.255 ??????? domain master = Yes ??????? os level = 255 ??????? preferred master = Yes ??????? load printers = No ??????? printcap name = /dev/null ??????? guest account = www-data ??????? map to guest = Bad User ??????? security = USER ??????? wins support = Yes ??????? idmap config * : backend = tdb ??????? printing = bsd ??????? hosts allow = 127.0.0.1 192.168.0.0/24 ??????? hosts deny = 0.0.0.0/0 [sdcard] ??????? path = /mnt/sdcard ??????? create mask = 0775 ??????? guest ok = Yes ??????? read only = No ================== Surely, someone came up with a SMB2/3-based rewrite of net.exe so batch files keep working.