Samba4 and AD sites.

brendan powers brendan0powers at
Thu May 26 20:02:38 MDT 2011

On Thu, May 26, 2011 at 2:34 PM, Pavel Herrmann <morpheus.ibis at> wrote:
> On Thursday 26 of May 2011 20:11:54 Matthieu Patou wrote:
>> On 26/05/2011 01:23, Andrew Bartlett wrote:
>> > On Wed, 2011-05-25 at 15:01 -0400, brendan powers wrote:
>> >> Does anyone know if samba4 supports AD sites? I have a network with 3
>> >> domain controllers. Two of them are in one building, and the 3rd is in
>> >> a second building. I'd like to get the client's in each building to
>> >> prefer their local domain controller.
>> >
>> > Yes, there is some basic support for sites.  Work that is currently
>> > pending will make this work a little better, by ensuring that when you
>> > move the DC, all the links follow it correctly.
>> >
>> > Andrew Bartlett
>> Well currently you can't move a DC from 1 site to another. So you can
>> create sites.
>> Then once we will be able to move most of site related function should
>> work.
>> Matthieu.
> Hi,
> this is exactly my experience  with samba 4
> when moving samba (from a win2k8r2 DC) to another site replication stopped
> working, but setting up sites with subnets first, and then joining samba DCs
> worked fine.
> deployment procedure without windows could be - provision samba (A), create
> sites and subnets on (A), join samba (B) into correct site, transfer FSMOs to
> samba (B) and unjoin samba (A), rejoin samba (A) into correct site.
> as for the nearest DC selection, that is work of the client (based on DNS and
> its IP address)
> Pavel Herrmann

Does this mean that I do not need to configure sites for the clients
to pick the nearest domain controller? The links between the sites are
fast enough that I'm not worried about replication traffic. So, if I
can get away with not configuring sites, that would be preferred.

More information about the samba-technical mailing list