[Samba] Hostname resolve fails after upgrade from 4.2 to 4.5

Uri Simchoni uri at samba.org
Thu May 11 18:43:40 UTC 2017


On 05/11/2017 09:33 PM, Guru Prasad wrote:
> Thank you very much Uri.
> It means winbindd handles netbios name resolution from samba 4.4.0.
> Just to understand, before samba 4.4.0 under which process this netbios
> name resolution  was handled?
> 
It was under the process that called getaddrinfo() or any other glibc
name resolution routine.

Glibc has a plugin mechanism (name service switch, or nsswitch for
short) which loads plugins acording to /etc/nsswitch.conf. When a
program (such as ping) calls getaddrinfo(), the glibc implementation
loads those plugins and runs them according to the order and policy
defined in /etc/nsswitch.conf.

Prior to 4.4.0, the wins plugin itself would send and receive netbios
packets, from the context that called getaddrinfo() or any other such
function. Since 4.4.0, it sends a request to winbindd (over a Unix
domain socket) and awaits response.

Uri
> Thanks
> Guru
> 



More information about the samba mailing list