Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Mark on December 15, 2002, 09:03:22 PM
-
Hi
I want to play with smb.conf to optimise samba for a database. I would prefer to edit the file manually. Is there an easy way of disabling the templating system just for this conf so I dont lose my changes on reboot etc. Not that I imagine it makes any difference but I'm using 5.6b7
cheers
Mark
-
Hi,
the /etc/smb.conf file is a result of the templating system. So if you want to play with it directly just do so. I would make a copy of this file to track my changes.
This way there is no need to disable the template system.
Practical solution :-)
Regards,
guestHH
-
rename the template/samba.conf directory
BUT you have to know what your doing,
eg if you add another ibay you have to make manual changes
regards
stephen
-
Thanks Guys for the help ....
I shifted the templates/smb.conf directory to /tmp and deleted the smb.conf files in /etc and etc/samba and now I can edit the new conf file to my hearts content.
cheers
Mark
-
It would probably be easier to fix if you used the templates-custom directory. You could just make blank copies of all the template files in templates-custom, and add one fragment that contained the whole file you wanted to use. This would make a new smb.conf from your blank files instead of the defaults, plus whatever you had in your own fragment.