summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-11-08 23:47:51 +0000
committerGerald Carter <jerry@samba.org>2002-11-08 23:47:51 +0000
commit3474ec6d51c5a58d6edd7ac68f301b47ba795577 (patch)
tree080b4c50d70c94b1d6808db681f75ca27cb3852a
parentc19598f2a6a3329e973e14e389e0577ebb914f3b (diff)
downloadsamba-3474ec6d51c5a58d6edd7ac68f301b47ba795577.tar.gz
samba-3474ec6d51c5a58d6edd7ac68f301b47ba795577.tar.bz2
samba-3474ec6d51c5a58d6edd7ac68f301b47ba795577.zip
fix for defunct winbindd from APP_HEAD
(This used to be commit 856678d69fac9849c689c485fc727fca300eb152)
-rw-r--r--source3/nsswitch/winbindd_dual.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd_dual.c b/source3/nsswitch/winbindd_dual.c
index a7523138ea..f31a4f2de4 100644
--- a/source3/nsswitch/winbindd_dual.c
+++ b/source3/nsswitch/winbindd_dual.c
@@ -143,7 +143,7 @@ void do_dual_daemon(void)
{
int fdpair[2];
struct winbindd_cli_state state;
-
+
if (pipe(fdpair) != 0) {
return;
}
@@ -160,7 +160,12 @@ void do_dual_daemon(void)
}
close(fdpair[1]);
- if (winbind_setup_common() != 0) _exit(0);
+
+ sleep (60);
+ DEBUG(0,("do_dual_daemon: Starting up....\n"));
+
+ if (!winbind_setup_common())
+ _exit(0);
dual_daemon_pipe = -1;
opt_dual_daemon = False;