summaryrefslogtreecommitdiff
path: root/docs-xml/manpages-3/smbcontrol.1.xml
diff options
context:
space:
mode:
authorAravind Srinivasan <aravind.srinivasan@isilon.com>2009-06-16 15:11:32 -0700
committerSteven Danneman <steven.danneman@isilon.com>2009-06-22 19:09:37 -0700
commit5a4d61810961af199859dfb52981632bfe594e95 (patch)
tree966ff8100e8ed1edcf57f83ea5c8a0006baecfd8 /docs-xml/manpages-3/smbcontrol.1.xml
parent36a8abce4f737102b5a2acf3c0e221391079831d (diff)
downloadsamba-5a4d61810961af199859dfb52981632bfe594e95.tar.gz
samba-5a4d61810961af199859dfb52981632bfe594e95.tar.bz2
samba-5a4d61810961af199859dfb52981632bfe594e95.zip
s3: forward MSG_DEBUG from smbd parent to all children
Before 3.3, an smbcontrol debug message sent to the target "smbd" would actually be sent to all running processes including nmbd and winbindd. This behavior was changed in 3.3 so that the "smbd" target would only send a message to the process found in smbd.pid, while the "all" target would send a message to all processes. The ability to set the debug level of all processes within a single daemon, without specifying each pid is quite useful. This was implemented in winbindd in 065760ed. This patch does the same thing for smbd. Upon receiving a MSG_DEBUG the parent smbd will rebroadcast it to all of its children. The printing process has been added to the list of smbd child processes, and we now always track the number of smbd children regardless of the "max smbd processes" setting.
Diffstat (limited to 'docs-xml/manpages-3/smbcontrol.1.xml')
-rw-r--r--docs-xml/manpages-3/smbcontrol.1.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs-xml/manpages-3/smbcontrol.1.xml b/docs-xml/manpages-3/smbcontrol.1.xml
index bb0aa305d2..c41dadcaf2 100644
--- a/docs-xml/manpages-3/smbcontrol.1.xml
+++ b/docs-xml/manpages-3/smbcontrol.1.xml
@@ -121,7 +121,10 @@
<varlistentry>
<term>debug</term>
<listitem><para>Set debug level to the value specified by the
- parameter. This can be sent to any of the destinations.</para>
+ parameter. This can be sent to any of the destinations. If this
+ message is sent to either the smbd or winbindd daemons, the parent
+ process will rebroadcast the message to all child processes changing
+ the debug level in each one.</para>
</listitem>
</varlistentry>