Failure demote Samba4
I'm having trouble demote DC a Samba 4. Samba 4.4.4 (Centos 7) was installed
from source packages. Promoted it as a secondary DC, a Windows 2008 R2. At the
very moment demote him. There is no ROLE or FSMO Samba 4. I'm running the
following command:
samba-domain tool demote -Uadministrator
I get this error:
Using dc.domain.local as partner server for the demotionPassword for
[domain\administrator]:Deactivating inbound replicationAsking partner server
dc.domain.local to synchronize from usError while replicating out last local
changes from 'DC=domain,DC=local' for demotion, re-enabling inbound
replicationERROR(<type 'exceptions.RuntimeError'>): Error while
sending a DsReplicaSync for partition 'DC=domain,DC=local' - (8440,
'WERR_DS_DRA_BAD_NC') File
"/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/domain.py",
line 786, in run drsuapiBind.DsReplicaSync(drsuapi_handle, 1, req1)
There is a bug registered for the 4.4.2 version of Samba, which has a patch to
fix the problem, but the patch does not work for the 4.4.4 version.
https://bugzilla.samba.org/show_bug.cgi?id=11882
Anyone know how to solve this problem?
Best regards,
Ricardo P. Claus