diff options
author | Darshan Purandare <dpurandare@isilon.com> | 2008-07-01 11:37:13 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-07-01 17:52:24 -0700 |
commit | 065760ede0b4d785adf8a5dcdd9237a494b4876a (patch) | |
tree | ff3141f61b9674c1273858fce45f8947de07de91 /source3/winbindd/winbindd.c | |
parent | 570d5ecdbd0614fb0633410e47da4a4083ab1636 (diff) | |
download | samba-065760ede0b4d785adf8a5dcdd9237a494b4876a.tar.gz samba-065760ede0b4d785adf8a5dcdd9237a494b4876a.tar.bz2 samba-065760ede0b4d785adf8a5dcdd9237a494b4876a.zip |
MSG_DEBUG now forwarded to all the winbindd children by parent.
smbcontrol winbindd debug level would only set the debug level of the
parent winbindd process and not the child processes. This patch adds
the functionality of broadcasting the debug message to all winbindd
children. Now the debug level message is propagated to all the winbindd
processes that includes parent and children.
(This used to be commit cfbcfc3ffe74f28ec874a6bf1ab93f55f405b6e6)
Diffstat (limited to 'source3/winbindd/winbindd.c')
-rw-r--r-- | source3/winbindd/winbindd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c index ec3bf68e2a..4b7efe81eb 100644 --- a/source3/winbindd/winbindd.c +++ b/source3/winbindd/winbindd.c @@ -1249,6 +1249,11 @@ int main(int argc, char **argv, char **envp) MSG_WINBIND_DUMP_DOMAIN_LIST, winbind_msg_dump_domain_list); + /* Register handler for MSG_DEBUG. */ + messaging_register(winbind_messaging_context(), NULL, + MSG_DEBUG, + winbind_msg_debug); + netsamlogon_cache_init(); /* Non-critical */ /* clear the cached list of trusted domains */ |