Author Topic: need more samba interfaces, my own smb.conf is lost after reboot, what to do?  (Read 410 times)

ATT1

  • Zen Monk
  • **
  • Posts: 90
  • Karma: +0/-0
    • View Profile
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 ?



doncamilo

  • Zen Warrior
  • ***
  • Posts: 242
  • Karma: +57/-0
    • View Profile
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 (search the stubs section).

 ;)