[Samba] samba 4.4rcx WINS nsswitch module

Rowland penny rpenny at samba.org
Tue Mar 22 08:13:02 UTC 2016


On 22/03/16 07:56, barış tombul wrote:
> WINS nsswitch module
> --------------------
>
> The WINS nsswitch module has been rewritten to address memory issues and to
> simplify the code. The module now uses libwbclient to do WINS queries. This
> means that winbind needs to be running in order to resolve WINS names using
> the nss_wins module. This does not affect smbd.
>
>
>
> my problem:
>
> old versions >>   ping google.com >>  PING google.com (216.58.212.14)
> 56(84) bytes of data.
>
> samba 4.4.rcx >> ping google.com  >> Segmentation fault
>
>
> I found the problem..
>
> /etc/nsswitch.conf
>
> edit:
>
> #hosts:      files wins dns
> hosts:      files dns
>
>
> ""wins"" delete it works .. but it works in older versions...
>
> best regards

Sorry, but for me on 4.4.0rc5, having 'wins' in the hosts line has no 
affect, it still works:

  ping -c1 google.com
PING google.com (31.55.167.152) 56(84) bytes of data.
64 bytes from 31.55.167.152: icmp_seq=1 ttl=56 time=10.4 ms

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

What it does say (well, to me), is that you probably don't need to be 
using 'wins' anyway. You are getting dns resolved without wins, unless 
it doesn't work for your internal network. It may help if you were tell 
us how you are running Samba.

Rowland



More information about the samba mailing list