Load smb config files from /etc/samba/smb.confLoaded services file OK.idmap range not specified for domain '*'ERROR: Invalid idmap range for domain *!Server role: ROLE_DOMAIN_PDC
"testparm" is not made for Samba in AD DC mode. "samba-tool testparm" is what needs to be called on AD DCshttps://bugzilla.samba.org/show_bug.cgi?id=12629
I think a check is also needed, if the server role is ROLE_DOMAIN_PDC