[Samba] re reading config

Helmut Hullen Hullen at t-online.de
Sat Aug 8 02:07:00 MDT 2009


Hallo, Terry,

Du meintest am 08.08.09:

>> smbcontrol all reload-config

> that's great never new about them cmd's. So does it periodically
> monitor the config then :)
> The reason I ask is I made some changes but didn't restart samba as I
> wasn't ready.

Simple rule:
all entries in "[global]" have to be re-read per

        .../samba stop   ... /samba start
      or
        .../samba restart
      or
        killall -HUP smbd
        killall -HUP nmbd
      or
        smbcontrol all reload-config

All other entries (in the shares) are automatically read from the system  
within about 1 minute.

Viele Gruesse!
Helmut


More information about the samba mailing list