So right now Samba can run as an Active Directory domain controller. With the newer version it can even run in higher functional levels such as 2012_r2 and 2016. You could technically run your entire organization off of Samba if you felt the need to.
So, why don't we keep Samba DC's as backups for organizations? Active Directory is very critical in many places and yet it depends entirely on one platform. If a bad update hits it normally just impacts one OS and not all. It might make sense to spin up a backup Debian Samba DC and run it as a backup to help with recovery. Admittedly Samba doesn't have support for traditional sysvol replication but there are workarounds that work.
I also like samba-tool way more than powershell. For instance, to transfer all fsmo roles to Samba you would run samba-tool fsmo transfer --role=*. The syntax is so much easier than powershell and the commands are clean and elegant.
Any thoughts? I realize that many people here are Microsoft heavy admins so Samba may be outside the wheelhouse for many.
Samba as domain controller with win11? - Software & Web Applications - Lawrence Systems Forums
SAMBA working as Active Directory domain controller
Using Direct Access with Samba 4 Domain Controller
Anyone been able to migrate from Samba DC to Windows DC?
Videos
The Samba server would have to be capable of pushing out Group Policy to the Windows machines. There are a couple Group Policies that get created that are required for DA to work correctly.
There would likely be zero licensing benefits. You would still have to have a Domain User CAL for every user that touches that server. As well as licensing the DA server.
While it may work I probably would not want to try.
I read a few posts earlier about Direct Access, starting with Windows Server 2008 R2. Rumour has it that Samba 4 can emulate an Active Directory controller at the 2008R2 schema.
Would it be possible to get a copy of Windows Server, join to the Samba domain, and enable Direct Access through that server? If so, how would licensing work, and are there any other requirements?