I’ve installed the Samab server and configured a couple shares. This was working but then I set about trying to configure mDNS. Now I’ve got mDNS working but I can no longer connect to my Samab shares from either Windows or Mac. Mac says No such file or directory
and Windows says Network name cannot be found.
However, I can successfully ping the host from both Windows and Mac and Powershell’s Test-NetConnection
succeeds on both port 139 and 445.
What am I missing?
Here’s my smb.conf:
[global]
workgroup = WORKGROUP
server string = %h server
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog only = no
syslog = 0
panic action = /usr/share/samba/panic-action %d
security = user
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
load printers = no
printcap name = /dev/null
disable spoolss = yes
min protocol = SMB2
vfs objects = fruit streams_xattr
fruit:metadata = stream
fruit:model = MacSamba
fruit:posix_rename = yes
fruit:veto_appledouble = no
fruit:wipe_intentionally_left_blank_rfork = yes
fruit:delete_empty_adfiles = yes
[dietpi]
comment = PiNAS
path = /mnt/dietpi_userdata
browseable = yes
writeable = yes
create mask = 0664
directory mask = 0775
valid users = dietpi
max connections = 8
[history]
comment = File history drive
path = /mnt/history
browsable = yes
writeable = yes
read only = no
guest ok = no
create mask = 0664
directory mask = 0775
valid users = smbuser
max connections = 8
fruit:time machine = yes
[backups]
comment = Backup drive
path = /mnt/backups
browsable = yes
writeable = yes
read only = no
guest ok = no
create mask = 0664
directory mask = 0775
valid users = smbuser
max connections = 8
Thanks!