Through StackExchange, we know how to configure Linux to resolve NetBIOS names with older versions of Samba, and I have configured my system in those ways. (I have installed
winbind
, configured my /etc/nsswitch.conf
correctly and confirmed my changes , including disabling the NSCD on OpenSUSE Tumbleweed.)
But now, with Samba 4.4 and later, the Samba developers have opted to require winbind
to be running for WINS resolution since they have changed the execution path for WINS queries.
If I include either of wins
and winbind
in my /etc/nsswitch.conf
file, my name resolution fails without the winbind
dæmon running, like the Samba page implies will happen. But, even running the winbind
service, my name queries that would succeed previously (with earlier versions of Samba) are failing, though nmblookup
returns successfully.
How do I need to configure my client system such that host queries can resolve NetBIOS names with Samba 4.4 and greater? In end-result terms, running Samba 4.4 or later in Linux, how can I ping a Windows machine by its name without DNS?
To clarify: I have a setup working in Samba 4.2. If I upgrade to Samba 4.4, 4.5, or 4.6, maintaining the same settings, name resolution stops working. If I then downgrade back to Samba 4.2, name resolution works again. Other than ensuring the running of the winbind
dæmon, what else do I need to do differently with these new versions of Samba?
Asked by palswim
(5597 rep)
Apr 29, 2016, 07:08 AM
Last activity: Sep 27, 2017, 09:17 PM
Last activity: Sep 27, 2017, 09:17 PM