Name resolution in a Windows environment
Adrian Mink
plug-discuss@lists.plug.phoenix.az.us
Wed, 1 May 2002 19:02:59 -0700
To see if they have a real dns server or not you can run winipcfg on a
win95/98 box.
If they have one you will find the listing there. On windows 2000 you can
run
ipconfig /all from a command prompt to get the same info. If there is one
listed
(An internal one that is) you can put that in /etc/resolv.conf.
Adrian
-----Original Message-----
From: plug-discuss-admin@lists.plug.phoenix.az.us
[mailto:plug-discuss-admin@lists.plug.phoenix.az.us]On Behalf Of Mike
Sent: Wednesday, May 01, 2002 6:34 PM
To: plug-discuss@lists.plug.phoenix.az.us
Subject: Re: Re: Name resolution in a Windows enviornment
I believe you just need the proper settings in smb.conf.
1.Make sure you put in the ip of the wins server in smb.conf
2. Set the order to be wins first in smb.conf
3. restart samba and you should be good to go.
v/r
mike
On Wed, May 01, 2002 at 06:24:13PM -0700, Matt Alexander wrote:
You can ping them, but you'll have to put them in your /etc/hosts file
like this:
172.16.0.10 windowsbox
On Wed, 1 May 2002 cparrish@cox.net wrote:
> Okay I was assuming that the two problems were related. Does that mean
that I won't *ever* be able to ping the windows boxes since they are using
the WINS server to do name resolution? I really do have a nameserver set up
in /etc/resolv.conf but it may be wrong no one here seems to know since dhcp
takes care of all of that for them. I *think* smb.conf is fine since I can
do everything there that I need to (with the exception of mounting to a
windows share but as long as I can smbclient into them I can fake it).
> >
> > From: "Kevin Brown" <kevin_brown@qwest.net>
> > Date: 2002/05/01 Wed PM 08:37:44 EDT
> > To: plug-discuss@lists.plug.phoenix.az.us
> > Subject: Re: Name resolution in a Windows enviornment
> >
> > OK, sounds like you are getting a couple things confused. WINS servers
are used
> > for windows boxes to find each other by name. These get configured
into Samba
> > in the smb.conf file. DNS is used to find a standard domain name out
on the Net
> > or in an internal network. DNS translates slashdot.org to
64.28.67.150.
> >
> > So, add the WINS servers to smb.conf, DNS servers to /etc/resolv.conf
and then
> > Samba should be able to translate a Windows box name to an IP. You
don't need
> > to change anything in /etc/hosts.conf or resolv.conf for Samba.
>
>
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't
post to the list quickly and you use Netscape to write mail.
>
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
________________________________________________
See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't
post to the list quickly and you use Netscape to write mail.
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
________________________________________________
See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post
to the list quickly and you use Netscape to write mail.
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss