[Samba] Replication between Samba DCs (on different sites)?

Michael Tokarev mjt at tls.msk.ru
Mon Nov 14 19:08:06 UTC 2022

14.11.2022 21:59, Michael Tokarev via samba wrote:
> # samba-tool domain demote -U mjt-adm
> Using svdcp.tls.msk.ru as partner server for the demotion
> Password for [TLS\mjt-adm]:
> Deactivating inbound replication
> Asking partner server svdcp.tls.msk.ru to synchronize from us
> Error while replicating out last local changes from 'CN=Schema,CN=Configuration,DC=tls,DC=msk,DC=ru' for demotion, re-enabling inbound replication
> ERROR(<class 'samba.WERRORError'>): Error while sending a DsReplicaSync for partition 'CN=Schema,CN=Configuration,DC=tls,DC=msk,DC=ru' - (2, 
>    File "/usr/lib/python3/dist-packages/samba/netcmd/domain.py", line 860, in run
>      drsuapiBind.DsReplicaSync(drsuapi_handle, 1, req1)

--remove-other-dead-server=svdcm seems to help.

Hopefully it works correctly :)

Re-trying it all once again..



More information about the samba mailing list