Hi everyone,
I modified a smb.conf template. Running expand-template /etc/smb.conf and a restart of smb is working out my changes. Things are running as intended.
After signal-event post-upgrade and a reboot the changes are gone. Has anybody an idea?
Thx in advance
Stefan
If I am correct smb.conf is located at /etc/samba/smb.conf, logically it's templates should also be in /etc/e-smith/templates-custom/etc/samba/smb.conf folder, but they are not. Due to some hostorical changes (if I remember correctly from reading in the bugtracker, details should be somewhere there) the templates are located in the /etc/e-smith/templates*/etc/smb.conf folder. Changes should be made in the templates*-custom folder to be kept over updates and events being fired... For more details see the
developers guide, especially the section about the template system, and perhaps also about the internal configuration database as a lot can be done changing values in there.
To expand the smb.conf file I think you should use the new location of the configuration file:
expand-template /etc/samba/smb.conf