Web lists-archives.com

[Samba] Workgroup Domain




Hi,

Wondering if anyone can help with a weird issue I'm having -

Just set up a new server (RHEL 7.4) and have migrated my samba
configuration from my old server (Fedora 25), I'm experiencing an issue
where by if my the name of my workgroup a domain i.e. it has a period in
it, then none of my Linux clients can detect the broadcast and smbtree on
both client and server is completely empty. I can manually connect via
domain, hostname, ip etc...

If I take this further and run smbtree -d4, then I can see that it's
complaining about not being able to determine the master browser for
WORKGROUP.COM <http://workgroup.com/>. In Windows however everything works
fine, the server pops up almost instantaneously.

The domain is propagated through dns and all clients can resolve the domain
name no problem. If I change the samba workgroup to something that isn't a
domain name, then everything works again and it's correctly displaying in
smbtree on all clients and server.

I don't get it - can someone advise?

smb.conf:
[global]
 server string = host01-name01
 workgroup = workgroup.com
 netbios name = host01-name01
 bind interfaces only = yes
 interfaces = lo enp4s0 enp0s31f6
 hosts allow = 192.168.150.
 name resolve order = wins bcast
 security = user
 passdb backend = tdbsam
 encrypt passwords = true
 domain master = yes
 preferred master = yes
 local master = yes
 browseable = yes
 deadtime = 15
 dns proxy = no
 getwd cache = yes
 load printers = no
 mangled names = no
 map archive = no
 map to guest = never
 min receivefile size = 16384
 os level = 255
 printable = no
 printcap name = /dev/null
 read raw = yes
 unix extensions = yes
 use sendfile = yes
 wins support = yes
 write raw = yes
 writeable = yes
 logging = file
 log file = /var/log/samba/log.%m
 max log size = 50
 shadow: snapdir = .zfs/snapshot
 shadow: snapdirseverywhere = yes
 shadow: format = autosnap_%Y-%m-%d_%H:%M:%S_hourly
 shadow: localtime = yes

Kind Regards,
Dominic
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba