[Samba] Samba4 to Samba4 replication

Jeppe Larsen jwl at isynet.net
Mon Jan 23 08:05:59 MST 2012

Hi there

I am trying to replicate two Samba4 servers, which almost works, except changes
are not registered.

On the second server I did the following:

samba-tool domain join example.local DC  -Uadministrator --realm=EXAMPLE.LOCAL

Which worked initially. All users and groups replicated, as seen by the 
"wbinfo" command, and able to login using "smbclient".

However, adding a new user or changing a password does not propagate to the 
second server. I will have to rejoin the domain with "samba-tool" for it to 

What am I missing here? The only error I can locate is this in the output of 
"samba-tool drs showrepl":

	Default-First-Site-Name\DC via RPC
		DSA object GUID: feaeb90g-5d6e-4a17-b9e1-ae31193ad983
		Last attempt @ Mon Jan 23 20:30:06 2012 IST failed, result 2 (WERR_BADFILE)
		19 consecutive failure(s).
		Last success @ NTTIME(0)

Any help appreciated!

Jeppe Larsen

More information about the samba mailing list