I believe that you mean /etc/e-smith/templates-custom/etc/samba/smb.conf
Sorry, a typo but I did mean /etc/e-smith/templates-custom/etc/smb.conf (fixed above) but as I read the metadata files it looks like either path will work. Thus lies the confusion about smb.conf.
The file lies here: /etc/samba/smb.conf
The template directory is here: /etc/e-smith/templates
/etc/smb.conf And custom templates should go here?: /etc/e-smith/templates-custom
/etc/samba/smb.confI've always put smb custom templates here: /etc/e-smith/templates-custom
/etc/smb.confSo as I understand it, either location will work.
Here you mean:
/etc/e-smith/templates-custom/etc/samba/smb.conf.tinprint
Yes, that is correct (typo AGAIN, I will edit it).
But if the desired include path really is:
/etc/smb.conf/ehsSamba/smb.conf.%m
then that could be used as well - the template directory would be /etc/e-smith/templates-custom/etc/smb.conf/ehsSamba/smb.conf.tinprint
You could do that but it adds an additional directory where samba related files would be kept (/etc/smb.conf/...). I think the location of the templates vs the location of smb.conf is what threw ardugh off, and thus all the different approaches shown here.
ardugh, where exactly do you want smb.conf.tinprint?
Your original post has it here /etc/smb.conf/ehsSamba/smb.conf.tinprint but /etc/smb.conf/ does not exist so you would be adding an additional location for samba related config files.
/etc/samba/ehsSamba/smb.conf.tinprint would be better but adds an additional subdirectory.
My initial instructions put it with the rest of the samba config files at /etc/samba/
Where do you want it to be?