Zentyal Forum, Linux Small Business Server

Zentyal Server => Directory and Authentication => Topic started by: ATT1 on June 03, 2019, 12:24:50 am

Title: need more samba interfaces, my own smb.conf is lost after reboot, what to do?
Post by: ATT1 on June 03, 2019, 12:24:50 am
Hello,
I need more interfaces for my samba configuration file "smb.conf", like so:

Code: [Select]
interfaces=lo,eth0,tun0
bind_interfaces_only=NO

However, when I edit this in /etc/samba/smb.conf, my changes are lost when the next reboot happens.
What to do to make my changes more permanent ?


Title: Re: need more samba interfaces, my own smb.conf is lost after reboot, what to do?
Post by: doncamilo on June 03, 2019, 01:41:28 pm
Hello,
I need more interfaces for my samba configuration file "smb.conf", like so:

Code: [Select]
interfaces=lo,eth0,tun0
bind_interfaces_only=NO

However, when I edit this in /etc/samba/smb.conf, my changes are lost when the next reboot happens.
What to do to make my changes more permanent ?

Zentyal uses templates and a redis database in order to generate the services configurations. So the changes that you make directly on the final configuration files will be lost while re-booting each one of the services.

In order to make your changes persistent you have to follow these instructions:https://doc.zentyal.org/en/appendix-c.html (https://doc.zentyal.org/en/appendix-c.html) (search the stubs section).

 ;)