The video below shows this type of configuration based on SAMBA4 AD DC, integrated with NextCloud and CUPS print server.
Hardware
HP Microserver G7 N54L
120GB SSD Kingstom (OS)
2x 320GB 3.5 SATA WD (data)
2x 8GB DDR3 Kingstom ECC
Software
Main OS: Linux Ubuntu Server 16.04 LTS
Services: Active Directory Domain Controller, Samba, NTP, DNS, GPO, SSL, Roaming Profiles, RAID, Backup
Cloud: NextCloud