LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] DNS / WINS

[ILUG] DNS / WINS

Chris Higgins chris.higgins at horizon.ie
Thu Nov 22 15:23:23 GMT 2001


>Does anyone know how to make a Linux machine use WINS ?

Never tried it - BUT... a quick read of "man nsswitch.conf" says
----
       A  service named SERVICE is implemented by a shared object
       library named libnss_SERVICE.so.X that resides in /lib.
----
and
      For glibc, you must have a  file  called  /lib/libnss_SE­
       VICE.so.X  for  every SERVICE you are using. On a standard
---- 

A quick locate says (amongst others )
/lib/libnss_compat.so.2
/lib/libnss_dns.so.2
/lib/libnss_files.so.2
/lib/libnss_hesiod.so.2
/lib/libnss_nis.so.2
/lib/libnss_nisplus.so.2
/lib/libnss_wins.so.2


So it *MAY* be possible to modify nsswitch.conf to use wins as a
lookup target for hosts... then again it may not work.

I don't know if libnss_wins is used for anything else.
I don't have a WINS server I can test it against, but if
anything exists to let you change the source of hostname
lookups it's prolly in nsswitch.conf..

I'd expect for this to work - samba must be configured, 
and that it'll check for hostsnames using wins and also
in /etc/samba/lmhosts (for those windows freaks out there )

-- 
** Chris Higgins                         e: chris.higgins at horizon.ie **
** Technical Business Development        tel: +353-1-6204916            **
** Horizon Technology Group              fax: +353-1-6204949            **
** CCSI# 23364                                                          **






More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell