svetlo56
> Why not change directly the file /etc/e-smith/templates/etc/smb.conf/11osLevel
You asked for a GO THERE, CHANGE THIS, END approach, and now you are even questioning that.
I suggest you need to listen to what people are telling you, learn a lot more about sme, and improve your search skills.
Changing templates directly is NOT the recommended approach. Creating custom templates IS the recommended approach, as you can easily return your server to default settings in the event the you wish to undo your changes or have made errors when doing your changes. Any upgrades will overwrite the templates and replace your customisation, whereas custom templates will not be overwritten during upgrades.
Note that the custom template contents take precedence over the templates contents when an expand-template event is done.
That's the whole point of the templating system.
Your approach is essentially why have templates at all, why not just edit config files directly eg edit /etc/samba/smb.conf
Well that's how it is done in most other Linux OS's, and can lead to a lot of problems, whereas using the sme templates and custom templates method allows for easy manipulation of settings and easy troubleshooting if incorrect changes are made and allows your customisations to be retained during upgrades of packages & template settings etc.
To undo a change you would do
rm /etc/e-smith/templates-custom/etc/smb.conf/11osLevel
expand-template /etc/smb.conf
/etc/init.d/smb restart
> I tried searching under devinfo
The mail list archive us here
http://lists.contribs.org/mailman/public/devinfo/>....custom templates and got nowhere.
See Chapter 8 of the dev guide
http://mirror.contribs.org/smeserver/contribs//gordonr/devguide/devguide.pdf> I really want to learn but the search was unwieldy.
If you want to use Linux I can guarantee that you will have to read a lot and learn a lot, and that will involve wading through many forums threads & posts, as unweildly as it may seem to you. Linux is really a self help community.