s3:net: disable dynamic dns updates at the end of "net ads join" in a cluster (bug...
commitb8f19df53e66bf0260b4ae6c49acea87ac379deb
authorMichael Adam <obnox@samba.org>
Wed, 1 Dec 2010 23:42:21 +0000 (2 00:42 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 17 Dec 2010 14:59:44 +0000 (17 15:59 +0100)
treec42b0131fdb9a4dd757ed050d464922584de3920
parentb3d4b2052534395c97cd959db5db87f78d108d4e
s3:net: disable dynamic dns updates at the end of "net ads join" in a cluster (bug #7871)

In a clustered environment, registering the set of ip addresses that are
assigned to the interfaces of the node that performs the join does usually
not have the desired effect, since the local interfaces do not carry
complete set of the cluster's public IP addresses.  And it can also contain
internal addresses that should not be visible to the outside at all.
In order to do dns updates in a clustererd setup, use net ads dns register.

This fixes the net ads join part of bug #7871.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/utils/net_ads.c