[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