Re: [opensuse] openSUSE 11, Windows AD and WINS
- From: "David C. Rankin" <drankinatty@xxxxxxxxxxxxxxxxxx>
- Date: Fri, 07 Nov 2008 18:13:12 -0600
Roger Oberholtzer wrote:
On Fri, 2008-11-07 at 03:16 -0600, David C. Rankin wrote:
Joop Beris wrote:
On Friday 07 November 2008 09:17:27 Roger Oberholtzer wrote:Roger,
I have joined a Windows Active Directory and all works fine. Except oneHello Roger,
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):
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
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 ;-)
I tried that and see no difference. I restarted winbind, smb and nmb. I
should not have to reboot, should I?
YES YOU DO! The browse list is not flushed unless you reboot. You can start
and stop the daemons all day long and still never get a new browse list.
Second, the precise details of why normal election loss doesn't change the
browse list in all cases escapes me now, but IIRC it has to do with conflicting
IPs preventing normal updating (too many 192.168.0.[xxx] duplicates)
This usually bites laptop users the worst. They close their laptop at home and
then get to work and pester the hell out of tech support because their network
doesn't work. Tech support goes nut because they can't figure it out either.
The whole time the problem is the browse list -- which is the browse list they
got from the subnet they were connected to the last time they booted their
computer.
I want the host names to be generally resolved from Linux applications
that use the resolver. Without adding something to /etc/nsswitch.conf, I
am confused how that will happen. As it stands, it will use files and
dns only. If one edits /etc/nsswitch.conf, is there a server that must
be restarted? I would not think so as each app seems to open
nsswitch.conf.
I have to admit, I have never made friends with nsswitch.conf, BIND DNS and
samba wins has always taken care of all my needs.
--
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
- References:
- [opensuse] openSUSE 11, Windows AD and WINS
- From: Roger Oberholtzer
- Re: [opensuse] openSUSE 11, Windows AD and WINS
- From: Joop Beris
- Re: [opensuse] openSUSE 11, Windows AD and WINS
- From: David C. Rankin
- Re: [opensuse] openSUSE 11, Windows AD and WINS
- From: Roger Oberholtzer
- [opensuse] openSUSE 11, Windows AD and WINS
- Prev by Date: [opensuse] tv-out configuration
- Next by Date: Re: [opensuse] Win98se in QEMU on openSUSE 11.0
- 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
|