[Samba] Error Removing Samba Server from Domain

Marcio Demetrio Bacci marciobacci at gmail.com
Mon Jul 29 20:53:52 UTC 2019


I need to remove my Samba 4 server from the domain and the following error
is happening:

samba-tool domain demote -Uadministrator
Using WIN-DC1.empresa.com.br as partner server for the demotion
Password for [EMPRESA\capbacci]:
Deactivating inbound replication
Asking partner server WIN-DC1.empresa.com.br to synchronize from us
Error while replicating out last local changes from
'DC=empresa,DC=com,DC=br' for demotion, re-enabling inbound replication
ERROR(<class 'samba.WERRORError'>): Error while sending a DsReplicaSync for
partition 'DC=empresa,DC=com,DC=br' - (8418, 'WERR_DS_DRA_SCHEMA_MISMATCH')
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line 787,
in run
    drsuapiBind.DsReplicaSync(drsuapi_handle, 1, req1)

I had placed in the domain without problems last week.

Can anybody help me?


Márcio Bacci

More information about the samba mailing list