Name
smbd
Synopsis
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
configuration 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.
Command synopsis
smbd [options]Options
-
-a Causes each new connection to the Samba server to append all logging messages to the log file. This option is the opposite of
-oand is the default.-
-D Runs the smbd program as a daemon. This is the recommended way to use smbd. It is also the default action when smbd is run from an interactive command line. In addition, smbd can be run from inetd.
-
-ddebug_level Sets the debug (sometimes called logging) level. The ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access