
62
|
Samba Pocket Reference
smbd
smbd [options]
The smbd program provides Samba’s file and printer services,
using one TCP/IP stream and one daemon per client. It is
controlled from /usr/local/samba/lib/smb.conf, the default configu-
ration file, which can be overridden by command-line options.
The configuration file is automatically reevaluated every minute. If
it has changed, most new options are immediately effective. You
can force Samba to reload the configuration file immediately by
sending a SIGHUP signal to smbd. Reloading the configuration file
does not affect any clients that are already connected. To escape
this condition, a client would need to disconnect and reconnect,
or the server itself would have to be restarted, forcing all clients to
reconnect.
Other signals
To shut down an smbd process, send it the termination signal
SIGTERM (15), which allows it to die gracefully, instead of a
SIGKILL (9). With Samba versions prior to 2.2, the debugging
level could be raised or lowered using SIGUSR1 or SIGUSR2. This
is no longer supported. Use smbcontrol instead.
Options
-a
Causes each new connection to the Samba server to append
all logging messages to the log file. This option is the oppo-
site of
-o and is the default.
-D
Runs the smbd program as a daemon. This is the recom-
mended way to use smbd. It is also the default action when
smbd is run from an interactive command line. In addition,
smbd can be ...