[Samba] clustered samba registers all non CTDB addresses at WINS server

Michael Adam obnox at samba.org
Wed Apr 13 07:20:35 MDT 2011


Daniel Müller wrote:
> But the entry for your ctdb cluster manual in your windows2008 wins.

Sorry, somehow Im not getting this sentence... :-)

> I think ctdb would be better in a dns ads then in a netbios wins Environment.

Yes. This is where it is mostly used and best tested.

Cheers - Michael

> -----------------------------------------------
> EDV Daniel Müller
> 
> Leitung EDV
> Tropenklinik Paul-Lechler-Krankenhaus
> Paul-Lechler-Str. 24
> 72076 Tübingen
> 
> Tel.: 07071/206-463, Fax: 07071/206-499
> eMail: mueller at tropenklinik.de
> Internet: www.tropenklinik.de
> -----------------------------------------------
> -----Ursprüngliche Nachricht-----
> Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im
> Auftrag von Michael Adam
> Gesendet: Dienstag, 12. April 2011 22:33
> An: erik bergsma
> Cc: samba at lists.samba.org
> Betreff: Re: [Samba] clustered samba registers all non CTDB addresses at
> WINS server
> 
> Hi Erik,
> 
> erik bergsma wrote:
> > Hi all,
> > 
> > in the first step to separate my wins/netbios/nmbd and my clustered 
> > samba servers i've installed the WINS feature on a windows 2k8r2 
> > server, and set the "wins server = ip.adress.of.windows.server"
> > 
> > the weird thing is: my samba 3.5.8 do not only register the public 
> > CTDB ip addresses specified by "cluster addresses =", but also the 
> > static maintenance ip's + the internal ip address of each node (direct 
> > link between the nodes, not reachable from outside)
> > 
> > is this behaviour normal? and is this behaviour safe? or am i missing 
> > something in my smb.conf?
> > i can imagine that if a netbios request comes in for my domain name, 
> > and the returned address is 10.0.0.1 something goes wrong....
> 
> nmbd and wins in the cluster setup is probably not the best tested
> scenario...
> 
> I'd say that you are right and that we should _only_ register the "cluster
> addresses" and not the other autodetected ones.
> The problem is that in the cluster setup, samba needs to listen on the
> wildcard interface and this defaults to registering all of the found
> addresses with WINS.
> 
> I would consider the behaviour you describe a bug and think we should fix it
> to only register "cluster addresses" if it is set.
> 
> Cheers - Michael
> 
> > Regards,
> > Erik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 206 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba/attachments/20110413/002b391a/attachment.pgp>


More information about the samba mailing list