[NTLUG:Discuss] Re: Samba, WINS support and smbclient not using wins.

Richard Geoffrion ntlug at rain4us.net
Wed Sep 11 16:22:09 CDT 2002


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?
[these]
/lib/libnss_nis.so.2
/lib/libnss_nisplus-2.2.5.so
/lib/libnss_db-2.2.so
/lib/libnss_files.so.2
/lib/libnss_nis-2.2.5.so
/lib/libnss_compat.so.2
/lib/libnss_hesiod-2.2.5.so
/lib/libnss_hesiod.so.2
/lib/libnss_dns-2.2.5.so
/lib/libnss_dns.so.2
/lib/libnss_compat-2.2.5.so
/lib/libnss_db.so.2
/lib/libnss_nisplus.so.2
/lib/libnss_files-2.2.5.so
/usr/lib/libnss_nisplus.so
/usr/lib/libnss_hesiod.so
/usr/lib/libnss_files.so
/usr/lib/libnss_db.a
/usr/lib/libnss3.so
/usr/lib/libnssckbi.so
/usr/lib/mozilla/libnssckbi.so
/usr/lib/libnss_compat.so
/usr/lib/libnss_dns.so
/usr/lib/libnss_nis.so
/usr/lib/libnss_db.so
/usr/src/samba-2.2.5/source/nsswitch/libnss_winbind.so
[/these] 

I'm thinking that samba-2.2.5 updated the name of one of the files.  
libnss_winbind.so looks suspicious to me but I'm out of my league here. 

-- 
/dev/rtcg <--approaching cluelessness...but still searching.




More information about the Discuss mailing list