I must apologize, I missed one "small" step. You must create an empty file of the one you are trying to create through the template system. IOW:
touch /etc/samba/ehsSamba/smb.conf.tinprint
pfloor,
Actually the smb.conf referred to here: /etc/e-smith/templates-custom/etc/samba/ehsSamba/smb.conf.tinprint/smb.conf
is a file. The file contains the edited smb.conf for thar particular machine, tinprint.
Should I call the file something other than smb.conf?
It doesn't matter but you may want to call it something else to eliminate confusion and really utilize the power of the template system. Template fragments are generally called 10something, 20something, etc and expanded in order. If you had 10something and 20something-else and wanted to add something in the middle then you would create 15additional-something.
So with that said, I would do it like this and here are ALL the steps all written out in CL:
(NOTE: I have changed the name of your custom template fragment to 10MachineConf).
Create your custom template directory smb.conf and copy 11include:
mkdir -p /etc/e-smith/templates-custom/etc/smb.conf
cp /etc/e-smith/templates/etc/smb.conf/11include /etc/e-smith/templates-custom/etc/smb.conf
Now edit
/etc/e-smith/templates-custom/etc/smb.conf/11include to suite your needs.
Create your machine's conf directory and (empty) file.
mkdir -p /etc/samba/ehsSamba
touch /etc/samba/ehsSamba/smb.conf.tinprint
Note the new "touch" command that I missed in my initial instructions.Now create the custom template directory and (empty) template fragment.
mkdir -p /etc/e-smith/templates-custom/etc/samba/ehsSamba/smb.conf.tinprint
touch /etc/e-smith/templates-custom/etc/samba/ehsSamba/smb.conf.tinprint/10MachineConf
Now edit
/etc/e-smith/templates-custom/etc/samba/ehsSamba/smb.conf.tinprint/10MachineConf to suite your needs.
expand-template /etc/smb.conf
expand-template /etc/samba/ehsSamba/smb.conf.tinprint
Or if you have multiple machine conf files:
expand-template /etc/samba/ehsSamba/*
And then of course you must restart samba for your changes to take effect.
Next lesson: How to utilize the config db with templates so your config files are generated via db settings...Oh wait, that will take way too much time

If you have a test test machine (VMWare is great for this) you should read the developer's manual and play around. Here is the section on templates:
http://wiki.contribs.org/SME_Server:Documentation:Developers_Manual#Configuration_file_templates but I would suggest you start from the beginning. You will probably need to read it at least 3 times before you begin to get your head around it. I have read all of it 5 times and still don't understand 50% of it
