I couldn't find any info on if it's possible to sync Samba4 AD with Office 365.
The obvious idea would be to use a Windows server (non AD role) to install the Azure AD Connect software and run it against the samba 4 DC. But since I'm posting here, this isn't (easily?) possible, as the passwords and group memberships don't get synced.
What would work is to have a Windows Server join the domain as a controller and the sync the users, but I don't want to buy CALs. Actually I would wish to not have a Windows server running at all on my machines.
Does anyone know about a scripted solution for that purpose, running directly on linux?