summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_dual.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-05-06 02:32:47 +0000
committerTim Potter <tpot@samba.org>2003-05-06 02:32:47 +0000
commit45f8fd3fa99772b5f65b205a96ee3286b1e85ff4 (patch)
treee9b51511625533955777699de8c5f76be384816b /source3/nsswitch/winbindd_dual.c
parent7cd3bdc7846e8d93c37d0f9e470d31ec23c4dad1 (diff)
downloadsamba-45f8fd3fa99772b5f65b205a96ee3286b1e85ff4.tar.gz
samba-45f8fd3fa99772b5f65b205a96ee3286b1e85ff4.tar.bz2
samba-45f8fd3fa99772b5f65b205a96ee3286b1e85ff4.zip
There appears to be no reason why we have to execute the
initialisation code in winbindd_init_common() after the fork when running in dual daemon mode. The only tricky bit is we have to run a tdb_reopen_all() somewhere in the child to avoid tdb corruption. Fixed bug #60. (This used to be commit 25e55aca0fe315c2ccf4e34a94107b2321313714)
Diffstat (limited to 'source3/nsswitch/winbindd_dual.c')
-rw-r--r--source3/nsswitch/winbindd_dual.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/nsswitch/winbindd_dual.c b/source3/nsswitch/winbindd_dual.c
index 3597171005..167630b0e1 100644
--- a/source3/nsswitch/winbindd_dual.c
+++ b/source3/nsswitch/winbindd_dual.c
@@ -166,9 +166,6 @@ void do_dual_daemon(void)
_exit(0);
}
- if (!winbind_setup_common())
- _exit(0);
-
dual_daemon_pipe = -1;
opt_dual_daemon = False;