[Samba] samba 4.4rcx WINS nsswitch module

Rowland penny rpenny at samba.org
Tue Mar 22 09:34:17 UTC 2016


On 22/03/16 08:42, L.P.H. van Belle wrote:
> Just a suggestion.
>
> Man nsswitch.conf
> Look for wins...
>
> And you see that "wins" is not supported anymore in nsswitch.conf
>
>
> Greetz,
>
> Louis
>
>
>> -----Oorspronkelijk bericht-----
>> Van: samba [mailto:samba-bounces at lists.samba.org] Namens Rowland penny
>> Verzonden: dinsdag 22 maart 2016 9:13
>> Aan: samba at lists.samba.org
>> Onderwerp: Re: [Samba] samba 4.4rcx WINS nsswitch module
>>
>> 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
>>
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/options/samba
>
>

And then I re-read the manpage properly :-[

wins is still available, Samba creates 'libnss_wins.so.2' to provide it.

Definitely need more info from the OP.

Rowland



More information about the samba mailing list