Downgrading an Active Directory DC
In general, there are two ways to upgrade or downgrade Samba AD DC. The first way is to replace the packages or binaries 'in-place', which may require additional steps to operate correctly. The second way is to join (or re-join) a new domain controller and optionally demoting any unused controllers.
For the join method, generally speaking, this method should always work as newer versions should return more consistent results via replication and so older versions should always receive objects correctly. In practice, this method may be trickier due to needing orchestration, DNS record conflicts, naming and other topology related artifacts.
The 'in-place' method is described on the Updating Samba page as a standard method of updating. While updates tend to have code within the Samba daemon to auto-update underlying formats and discrepancies, or rely on the Samba AD DC database check tool, downgrades of certain versions may require additional tools to run. This page describes these additional details.
Downgrade compatibility (4.7 - 4.11)