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 | 9912f82067a4cb2e393eb81504fa4312ebfa0cd5 (patch) | |
tree | 3e6f8ee183e0c4590ff57fdabb81b9f5d4bbbfa5 | |
parent | d682e0482834e8ea8e6f844b168deefdbe3616be (diff) | |
download | samba-9912f82067a4cb2e393eb81504fa4312ebfa0cd5.tar.gz samba-9912f82067a4cb2e393eb81504fa4312ebfa0cd5.tar.bz2 samba-9912f82067a4cb2e393eb81504fa4312ebfa0cd5.zip |
Add debug message: show which domain_child is being forked.
Michael
(This used to be commit 373a00ae0d667d257fa93ab14c773e841f2c4f1a)
-rw-r--r-- | source3/winbindd/winbindd_dual.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c index a9786d1ceb..15ca564c6a 100644 --- a/source3/winbindd/winbindd_dual.c +++ b/source3/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))); |