Samba4 at remote sites.

Jeff Sadowski jeff.sadowski at
Tue Oct 18 10:05:02 MDT 2011

On Mon, Oct 17, 2011 at 4:11 PM, Matthieu Patou <mat at> wrote:
> On 18/10/2011 00:03, Jeff Sadowski wrote:
>> I'm getting a lot of errors in the logs from moving my samba domain
>> controllers to their remote sites.
>> In sites and services from my windows 2003 DC
>> I created sites for each of my locations and subnets for each.
>> I made sure I associated the correct site with each subnet.
>> I then had my servers physically moved to their locations after
>> altering their ip's to fit their locations subnets.
>> I then cleaned up dns of the old ip's and let it create the new ones
>> when they came up.
>> At this point I started having replication issues.
> Which kind of issues ?

When on Windows 2003 DC and go to sites and services and go to
[site name]->Servers->[server name]->NTDS Settings
right click on an Active Directory Connection and hit replicate now
I get an error

"The following error occurred during the attempt to synchronize naming
context <my domain name> from Domain Controller <my Windows 2003 DC
name> to domain controller <linux DC at site>:
the server endpoint cannot perform the operation.

This operation will not continue."
Strangely on another site I get what appears to be just a warning as follows
"One or more of these Active Directory connection are between domain
controllers in different sites. Active Directory will attempt to
replicate across these connections. For information about how to
verify replication, see Help and Support."
The difference being this one was auto generated and I had to build
the other one because it had no sites to replicate.

In the event Log I get a whole lot of Event ID 1864 Errors and 1566 Warnings.

Also when I go to sites and services and go to
[site name]->Servers->[server name]
and right click on NTDS and select All Tasks->Check Replication Topology
on my linux DC's I get an error
"The following error occurred during the attempt to check the
replication topology:
 The server endpoint cannot perform the operation."

>> I tried creating an IP Inter-site transport between the main site and
>> my remote sites
>> associating a cost of 430 with my remote sites as per recommended by
>> given that my remote sites only have approximately 250K upload
> I think we don't really support this, and we are currently replicating with
> all the other DCs
>> I then removed the remote sites form the DEFAULTIPSITELINK (not sure
>> if I was suppose to)
>> It appears to be having problems still. Does anyone else use samba4
>> DC's in multiple sites?
>> What commands can I run to help troubleshoot these issues from my
>> windows 2003 DC
>> What commands can I run from my linux DC's to help troubleshoot the
>> replication issues.
> We need to know about your "issues" before telling you what can be done, for
> sure not a lot of persons have used sites last week we fixed a couple of
> bugs in this area.
> Matthieu.
> --
> Matthieu Patou
> Samba Team

More information about the samba-technical mailing list