Yang, James H (Jhyang), SOLIT
2002-Jun-17 14:38 UTC
[Samba] use samba for WINS name resolution on solaris
I have a SUN/Solaris system that functions like a web proxy server. In our corporate environment, PC client/brower can access a web server using URL with WINS name as well DNS. Can Samba be configured to on the system to support/resolve WINS names by pointing to corporate WINS servers - in addition to DNS (configured in /etc/resolv.conf)? Thanks. James -------------- next part -------------- HTML attachment scrubbed and removed
On Mon, 17 Jun 2002, Yang, James H (Jhyang), SOLIT wrote:> I have a SUN/Solaris system that functions like a web proxy server. In > our corporate environment, PC client/brower can access a web server > using URL with WINS name as well DNS. Can Samba be configured to on > the system to support/resolve WINS names by pointing to corporate WINS > servers - in addition to DNS (configured in /etc/resolv.conf)? Thanks.There is a NSS modules which uses wins (libnss_wins.so). See the nsswitch/ directory in the Samba source distro. cheers, jerry --------------------------------------------------------------------- Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://www.plainjoe.org "Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
Yang, James H (Jhyang), SOLIT
2002-Jul-09 09:20 UTC
[Samba] use samba for WINS name resolution on solaris
Jerry,
Thanks for your help.
I followed instructions in:
a. compile libnss_wins.so and install it in /lib
b. modify the smb.conf file to have
wins support = No
wins server = IP-of-a-win-server
c. modify nsswitch.conf file to have
hosts: files wins dns
d. reboot the machine and make sure that smbd is running
But it does not work - ping failed to resolve a WINS name.
The installation is Samba v2.2.3 on a SUN/Solaris v2.6 machine. In
the document, it does not mention support of Solaris platform.
Any idea?
Thanks
James
-----Original Message-----
From: Gerald Carter [mailto:jerry@samba.org]
Sent: Tuesday, June 18, 2002 9:00 AM
To: Yang, James H (Jhyang), SOLIT
Cc: samba@lists.samba.org
Subject: Re: [Samba] use samba for WINS name resolution on solaris
On Mon, 17 Jun 2002, Yang, James H (Jhyang), SOLIT wrote:
> I have a SUN/Solaris system that functions like a web proxy server.
In> our corporate environment, PC client/brower can access a web server
> using URL with WINS name as well DNS. Can Samba be configured to
on> the system to support/resolve WINS names by pointing to corporate WINS
> servers - in addition to DNS (configured in /etc/resolv.conf)?
Thanks.
There is a NSS modules which uses wins (libnss_wins.so).
See the nsswitch/ directory in the Samba source distro.
cheers, jerry
---------------------------------------------------------------------
Hewlett-Packard http://www.hp.com
SAMBA Team http://www.samba.org
-- http://www.plainjoe.org
"Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN
0-672-32269-2
--"I never saved anything for the swim back." Ethan Hawk in Gattaca--