Samba4 and AD sites.

Pavel Herrmann morpheus.ibis at
Thu May 26 12:34:39 MDT 2011

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.


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

More information about the samba-technical mailing list