[Samba] Domain demote fails

Adam Tauno Williams awilliam at whitemice.org
Tue Aug 12 14:23:59 MDT 2014

On Mon, 2014-03-24 at 11:58 +0000, Jochen Wezel - CompuMaster GmbH
> Hi together, 
> Demoting from a Win-Server-Based Active Directory fails
> root at srvf01:~# samba-tool domain demote --server windc-server -UAdministrator
> Using srv15.lan.compumaster.de as partner server for the demotion
> Password for [COMPUMASTER\Administrator]:
> Desactivating inbound replication
> Asking partner server windc-server to synchronize from us
> Error while demoting, re-enabling inbound replication
> ERROR(<class 'samba.drs_utils.drsException'>): Error while sending a DsReplicaSync for partion CN=Schema,CN=Configuration,DC=xxxxx - drsException: DsReplicaSync failed (1727, 'WERR_RPC_S_CALL_FAILED_DNE')
>   File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py", line 647, in run
>     sendDsReplicaSync(drsuapiBind, drsuapi_handle, ntds_guid, str(part), drsuapi.DRSUAPI_DRS_WRIT_REP)
>   File "/usr/local/samba/lib/python2.7/site-packages/samba/drs_utils.py", line 83, in sendDsReplicaSync
>     raise drsException("DsReplicaSync failed %s" % estr)

I am encountering this same error message attempting to demote a
non-working DC.


Adam Tauno Williams <mailto:awilliam at whitemice.org> GPG D95ED383
Systems Administrator, Python Developer, LPI / NCLA

More information about the samba mailing list