I didn't know the stuff about the NetBios and the mDNS or the SMB1 thingy (not a tech person). So, does that mean that system19 is "broadcasting" the samba shared directories two ways: NetBios method, and mDNS method? And that is why in Nautilus I see them as two samba entries (system19 and system19.local)?
Below is the output of the two commands, in case you notice something odd or outdated in them..... I can't explain it, this is just the configuration file that someone provided me about ten (?) years ago, and I've always just tweaked the share definitions section.
Code:
main19@system19:~$ testparm -s
Load smb config files from /etc/samba/smb.conf
lpcfg_do_global_parameter: WARNING: The "client lanman auth" option is deprecated
lpcfg_do_global_parameter: WARNING: The "client ntlmv2 auth" option is deprecated
Loaded services file OK.
Weak crypto is allowed
Server role: ROLE_STANDALONE
# Global parameters
[global]
client lanman auth = Yes
client max protocol = SMB3
client min protocol = NT1
client NTLMv2 auth = No
dns proxy = No
domain master = Yes
guest account = main19
log file = /var/log/samba/log.%m
logging = file
map to guest = Bad User
max log size = 1000
name resolve order = bcast host lmhosts wins
ntlm auth = ntlmv1-permitted
obey pam restrictions = Yes
pam password change = Yes
panic action = /usr/share/samba/panic-action %d
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
passwd program = /usr/bin/passwd %u
preferred master = Yes
security = USER
server min protocol = NT1
server role = standalone server
server string = %h server (Samba, Ubuntu)
unix password sync = Yes
username map = /etc/samba/smbusers
usershare allow guests = Yes
idmap config * : backend = tdb
guest ok = Yes
[printers]
browseable = No
comment = All Printers
create mask = 0700
guest ok = No
path = /var/spool/samba
printable = Yes
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
[shared_stuff]
path = /home/main19/shared_stuff
read only = No
[ubuntu2]
path = /media/main19/ubuntu2/
read only = No
[Toshiba]
path = /media/main19/Toshiba/
read only = No
[Public]
path = /home/main19/Public
read only = No
main19@system19:~$
Code:
main19@system19:~$ net usershare info --long
[Public]
path=/home/main19/Public
comment=
usershare_acl=Everyone:F,
guest_ok=y
[ubuntu2]
path=/media/main19/ubuntu2
comment=
usershare_acl=Everyone:F,
guest_ok=y
[Toshiba]
path=/media/main19/Toshiba
comment=
usershare_acl=Everyone:F,
guest_ok=y
[shared_stuff]
path=/home/main19/shared_stuff
comment=
usershare_acl=Everyone:F,
guest_ok=y
[multimedia]
path=/media/main19/Toshiba/multimedia
comment=
usershare_acl=Everyone:F,
guest_ok=y
[router]
path=/media/router
comment=
usershare_acl=Everyone:F,
guest_ok=y
main19@system19:~$