[Samba] samba 4.4rcx WINS nsswitch module

Rowland penny rpenny at samba.org
Wed Mar 23 09:33:32 UTC 2016

On 22/03/16 12:17, barış tombul wrote:
> I would appreciate it if you can change the host value in the
> /etc/nsswitch.conf  file from  *hosts:*  to  *files wins dns * and try
> again by restarting the server, since the error occurs whenever I restart
> the server.
> However, If I change the host value which is  *hosts: * in the
> /etc/nsswitch.conf file to *files  dns wins *and restart the server
> everything runs perfectly, when the alignment of wins and dns value is
> reversed a problem occurs.
> Can you try this, I do not think I'm the only one subject to this situation.
> Best  Regards...

OK, I have computer running Samba 4.4.0 and this in /etc/nsswitch.conf:

hosts:          files wins dns

'ping -c1 google.com' produces this:

PING google.com ( 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=56 time=9.43 ms

--- google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 9.432/9.432/9.432/0.000 ms

It doesn't segfault.

Can I ask, did you compile Samba yourself ?
If so, how did you create the libnss_wins.so.2 link ?


More information about the samba mailing list