diff options
author | Michael Adam <obnox@samba.org> | 2008-01-25 01:21:56 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-25 01:42:22 +0100 |
commit | 373a00ae0d667d257fa93ab14c773e841f2c4f1a (patch) | |
tree | 030ffde691e700403f9fe46bae2e1b72e877122e /source | |
parent | 723e877c241dd5a0c8addb89507c9eda75b88ea4 (diff) | |
download | samba-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')
-rw-r--r-- | source/winbindd/winbindd_dual.c | 7 |
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))); |