Skip to Main Content
Samba Pocket Reference, 2nd Edition
book

Samba Pocket Reference, 2nd Edition

by Jay Ts, Robert Eckstein, David Collier-Brown
April 2003
Intermediate to advanced content levelIntermediate to advanced
142 pages
4h 54m
English
O'Reilly Media, Inc.
Content preview from Samba Pocket Reference, 2nd Edition
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 ...
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.
Start your free trial

You might also like

Official Samba-3 HOWTO and Reference Guide, The

Official Samba-3 HOWTO and Reference Guide, The

John H. Terpstra, Jelmer R. Vernooij
Brilliant NLP Workbook

Brilliant NLP Workbook

David Molden, Pat Hutchinson

Publisher Resources

ISBN: 9780596529017