git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e74d00
)
fix for defunct winbindd from APP_HEAD
author
Gerald Carter
<jerry@samba.org>
Fri, 8 Nov 2002 23:47:51 +0000
(23:47 +0000)
committer
Gerald Carter
<jerry@samba.org>
Fri, 8 Nov 2002 23:47:51 +0000
(23:47 +0000)
source/nsswitch/winbindd_dual.c
patch
|
blob
|
history
diff --git
a/source/nsswitch/winbindd_dual.c
b/source/nsswitch/winbindd_dual.c
index a7523138ea16c4f11ced19c1b5f39f6816908081..f31a4f2de4d06855fad3ee84dedb8ca681de6e12 100644
(file)
--- a/
source/nsswitch/winbindd_dual.c
+++ b/
source/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;