Ah, looks like a different behaviour between testparm and samba-tool testparm:
root@xenial-samba-include:~# testparm -s &>/dev/null; echo $? 0 root@xenial-samba-include:~# samba-tool testparm; echo $? ERROR: Unable to load default file 255 -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/1583324 Title: Samba won't start when an include statement in smb.conf has a variable substitution To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1583324/+subscriptions -- Ubuntu-server-bugs mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
