erik bergsma
2011-Apr-12 19:01 UTC
[Samba] clustered samba registers all non CTDB addresses at WINS server
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.... Regards, Erik
Michael Adam
2011-Apr-12 20:32 UTC
[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/20110412/f5acf075/attachment.pgp>
Maybe Matching Threads
- Clustered Samba: Every 24 hours "There are Currently No Logon Servers Available"
- Clustered Samba: smbd process deadlocks when doing an /etc/init.d/samba stop on gentoo
- Samba with CTDB able to serve non-clustered data?
- Samba with CTDB able to serve non-clustered data?
- Performance problem using clustered samba via ctdb