linuxconf Howto/FAQ

Howto index

Samba is not restarted as needed

The samba service generally reload its configuration when a new user connects. So in general, you seldom need to restart it. But if you fiddle in the global section (default parameters), then you probably need to restart it. Unfortunately, init script delivered with most distribution are not helping. Linuxconf can't help, unless the init script are fixed.

Here is a simple modification you do do to /etc/rc.d/init.d/smb script (/etc/init.d/smb on some distro) to make Linuxconf probing reliable. This relies on Linuxconf 1.24r6 and a small helper program called /usr/lib/linuxconf/lib/samba-check.

Edit the script and do the following modifications:

Once done, Linuxconf will be able to assist you properly for the samba service.