[NTLUG:Discuss] Re: Samba, WINS support and smbclient not using wins.
Chris Cox
cjcox at acm.org
Wed Sep 11 17:07:48 CDT 2002
Richard Geoffrion wrote:
> Chris Cox writes:
>
>> Richard Geoffrion wrote:
>>
>>> Kyle Davenport <Kyle_Davenport at compusa.com> wrote:
>>>
>>>>>> Try adding "wins" to the "hosts:" line in /etc/nsswitch.conf
>>>>>
>
> I did that.
>
>>
>> Works in SuSE 8.0 with the libnss_wins out of the box. You need to have
>> a wins server entry in your smb.conf to make sure it can find your wins
>> server. Then make the change in nsswitch.conf to point hosts to use
>> wins. I tested by disabling dns in nsswitch.conf and just using wins
>> for resolution... worked well for me... even with ping.
>
>
> I don't see libnss_wins Would one of THESE be the correct file?
Nope.. Without libnss_wins.so, it will not work for you.
It used to be (apart from SuSE) that you had to compile libnss_wins.so
from the samba source... it WAS NOT made by default, you had to
specifically ask for it to be made (involves cd'ing into a directory
in the source and making a specific target). I'm pleased that SuSE
distributes the library... I would have thought that others would have
followed suit though.
I can't remember the thread... what distrib/version of Linux are you
using? You may want to consider something more recent if you're not
running the latest, but I can only state that the SuSE 8.0 ships with
the libnss_wins.so library (I'm pretty sure that SuSE 7.3 DID NOT
ship with that library because I remember having to make it myself).
More information about the Discuss
mailing list