Samba Issue cannot browse by name but can by IP

General support questions
Post Reply
jlentz@sescollc.com
Posts: 1
Joined: 2019/06/15 06:29:06

Samba Issue cannot browse by name but can by IP

Post by jlentz@sescollc.com » 2019/06/15 06:34:38

I just patched my system and it included the Samba 4.8 package. As soon as I completed the upgrade and rebooted, I can access the shares by IP but not by name, for instance \\servername does not work in Windows clients like it did before the patching. I have tried adding netbios name, interfaces, hosts allow, etc. smbd and nmbd are both enabled and running. The error I get on the Windows side is the network path cannot be found. I can ping the system no problem. I have reinstalled Samba with no luck. Any suggestions?

smb.conf
[global]
workgroup = <Our AD domain>
netbios name = <server name>
security = user
passdb backend = tdbsam
interfaces = eno1 eno2 192.168.4.232/24 10.250.1.11/24
hosts allow = 172.16 192.168. 10.
printing = cups
printcap name = cups
load printers = yes
cups options = raw

map to guest = Bad User


[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes

[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = root
create mask = 0664
directory mask = 0775


[datashare]
comment = datashare
path = /data/data/datashare
writable = yes
browsable = yes
guest ok = yes
create mode = 0777
directory mode = 0777

Post Reply

Return to “CentOS 7 - General Support”