summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-11-08 23:46:45 +0000
committerGerald Carter <jerry@samba.org>2002-11-08 23:46:45 +0000
commitcc9b6ef9cadf31b576609308d24657e921c644d1 (patch)
treee2b64fd975a2471b4ff5e093089bf7c60ca5e5f2
parentc501ac2bfa4b9fa88c402bb0313312ea0f565443 (diff)
downloadsamba-cc9b6ef9cadf31b576609308d24657e921c644d1.tar.gz
samba-cc9b6ef9cadf31b576609308d24657e921c644d1.tar.bz2
samba-cc9b6ef9cadf31b576609308d24657e921c644d1.zip
defunct winbindd fix from APP_HEAD
(This used to be commit 488e985caa0b0e3e2a6665eb2515a2c99745d861)
-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;