[Samba] Solve Err 53 through Samba?

Gilles codecomplete at free.fr
Tue Jan 17 19:48:43 UTC 2023


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.




More information about the samba mailing list