summaryrefslogtreecommitdiffstats
path: root/source/winbindd/winbindd_dual.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-25 01:21:56 +0100
committerMichael Adam <obnox@samba.org>2008-01-25 01:42:22 +0100
commit373a00ae0d667d257fa93ab14c773e841f2c4f1a (patch)
tree030ffde691e700403f9fe46bae2e1b72e877122e /source/winbindd/winbindd_dual.c
parent723e877c241dd5a0c8addb89507c9eda75b88ea4 (diff)
downloadsamba-373a00ae0d667d257fa93ab14c773e841f2c4f1a.tar.gz
samba-373a00ae0d667d257fa93ab14c773e841f2c4f1a.tar.xz
samba-373a00ae0d667d257fa93ab14c773e841f2c4f1a.zip
Add debug message: show which domain_child is being forked.
Michael
Diffstat (limited to 'source/winbindd/winbindd_dual.c')
-rw-r--r--source/winbindd/winbindd_dual.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/winbindd/winbindd_dual.c b/source/winbindd/winbindd_dual.c
index a9786d1ceb0..15ca564c6ac 100644
--- a/source/winbindd/winbindd_dual.c
+++ b/source/winbindd/winbindd_dual.c
@@ -959,6 +959,13 @@ static bool fork_domain_child(struct winbindd_child *child)
struct winbindd_cli_state state;
struct winbindd_domain *domain;
+ if (child->domain) {
+ DEBUG(10, ("fork_domain_child called for domain '%s'\n",
+ child->domain->name));
+ } else {
+ DEBUG(10, ("fork_domain_child called without domain.\n"));
+ }
+
if (socketpair(AF_UNIX, SOCK_STREAM, 0, fdpair) != 0) {
DEBUG(0, ("Could not open child pipe: %s\n",
strerror(errno)));