Re: [opensuse] openSUSE 11, Windows AD and WINS
- From: "David C. Rankin" <drankinatty@xxxxxxxxxxxxxxxxxx>
- Date: Fri, 07 Nov 2008 03:16:42 -0600
Joop Beris wrote:
On Friday 07 November 2008 09:17:27 Roger Oberholtzer wrote:
I have joined a Windows Active Directory and all works fine. Except one
thing: I am unable to resolve network addresses that are in WINS but not
DNS. (Why such a situation exists is a mystery over which I have no
control - I must simply deal with it). In the Samba Server config in
YAST, I can select that the WINS server should be set via DHCP. Well,
the machine does not boot via DHCP. So, how should I arrange this? Is
there any possible conflict with the AD stuff if I add a wins server
to /etc/samba/smb.conf? Will that even be used by the resolver?
My /etc/nsswitch.conf file looks like this (set up by YAST):
Hello Roger,
Have you tried simply adding the IP address of the WINS server to
/etc/samba/smb.conf? Like so:
wins server = w.x.y.z.
This should fix the problem resolving wins hosts, imho.
HTH,
Joop
Roger,
I think Joop hit the nail on the head. What you want to do is make sure the
"wins support" option is _NOT_ set and that "wins server" _IS_ set to the IP of
your primary wins server:
# wins support = yes
wins server = 192.168.6.17
Samba can act as either a wins server or a wins client, but not both. What you
are trying to accomplish is to have your samba box obtain a copy of the
netbios/lanman "browse list" from the master browser on your subnet. Also make
sure you are not setting your samba box as the domain or local master:
03:05 ecstasy~> grep master /etc/samba/smb.conf
# set local master to no if you don't want Samba to become a master
# local master = yes
# OS Level determines the precedence of this server in master browser
# domain master = yes
# preferred master = yes
Set your "os level" to something less than (I can't remember the exact number,
but I believe it is) 62 so that you insure it doesn't win an election and
become the master browser. The following works fine:
os level = 57
Also, if you are going to be eyeball deep in samba for a while, head over to
www.samba.org. They have great documentation as well as a very helpful mailing
list. For configuration, I wouldn't rely solely on yast, just use a text editor
and open /etc/samba/smb.conf and edit the file directly. Yast is OK, but it is
just yet another setup tool ;-)
--
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Follow-Ups:
- Re: [opensuse] openSUSE 11, Windows AD and WINS
- From: Roger Oberholtzer
- Re: [opensuse] openSUSE 11, Windows AD and WINS
- References:
- [opensuse] openSUSE 11, Windows AD and WINS
- From: Roger Oberholtzer
- Re: [opensuse] openSUSE 11, Windows AD and WINS
- From: Joop Beris
- [opensuse] openSUSE 11, Windows AD and WINS
- Prev by Date: Re: [opensuse] Interesting CPU Fan Noise Observation
- Next by Date: Re: [opensuse] Interesting CPU Fan Noise Observation
- Previous by thread: Re: [opensuse] openSUSE 11, Windows AD and WINS
- Next by thread: Re: [opensuse] openSUSE 11, Windows AD and WINS
- Index(es):
Relevant Pages
|