Ray, thanks for the replay, I know this is an old post that i have re-opened.
What you've said makes perfect sense to me and am just starting to get my head around the templating system of SME. Very ingenius
The one thing that is confusing me is this. The template fragments for the smb.conf file seem to stored in /etc/e-smith/templates/etc/smb.conf/ but the actual smb.conf file is located at /etc/samba/smb.conf or so it appears.
I tried creating /etc/e-smith/templates-custom/etc/samba/smb.conf/ directory and adding fragments to there but when expanding the template and restarting smb, nothing seems to have happened and the smb.conf file located at /etc/samba/smb.conf doesn't seem to have changed.
I'm stumped, any ideas?
Thanks,
Arthur