Re: [opensuse] openSUSE 11, Windows AD and WINS



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



Relevant Pages

  • Re: XP and Fedora Core 3 through router - share resources?
    ... Samba has a huge number of configurable options (perhaps too ... server string = Samba Server ... # set local master to no if you don't want Samba to become a master ... # per user logon script ...
    (comp.os.linux.setup)
  • Re: XP and Fedora Core 3 through router - share resources?
    ... Samba has a huge number of configurable options (perhaps too ... server string = Samba Server ... # set local master to no if you don't want Samba to become a master ... # per user logon script ...
    (comp.os.linux.setup)
  • Re: mount Linux directory on Windows
    ... For mounting i used Samba Server. ... # set local master to no if you don't want Samba to become a master ... # per user logon script ...
    (RedHat)
  • Re: Samba Problem
    ... samba configuration file, ... server string = Samba Server ... # set local master to no if you don't want Samba to become a master ... # Enable this if you want Samba to be a domain logon server for # Windows95 workstations. ...
    (freebsd-questions)
  • Samba - XP Home in peer-to-peer mode
    ... Samba has a huge number of configurable options (perhaps too ... server string = Samba Server ... # set local master to no if you don't want Samba to become a master ... # per user logon script ...
    (Fedora)