summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-05-21 15:58:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:22:16 -0500
commit1f907b4957ee3e1b30e5c84b9194d335375ec08e (patch)
treeda42a3bd59391fae4d4595595215d195f1ba0bb0
parent5057c595d5637ad610c54de0300488ca690f1438 (diff)
downloadsamba-1f907b4957ee3e1b30e5c84b9194d335375ec08e.tar.gz
samba-1f907b4957ee3e1b30e5c84b9194d335375ec08e.tar.bz2
samba-1f907b4957ee3e1b30e5c84b9194d335375ec08e.zip
r23040: Activate the winbindd cache validation code in the
winbindd main function. I have tested and somewhat extended the code, and it seems to do a good job. I have possibly not caught all error conditions though. Michael (This used to be commit 8c517f9aacef300e4280896e36ff71dc9aa35dc3)
-rw-r--r--source3/nsswitch/winbindd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd.c b/source3/nsswitch/winbindd.c
index e73fe79b1e..790d59c086 100644
--- a/source3/nsswitch/winbindd.c
+++ b/source3/nsswitch/winbindd.c
@@ -1103,7 +1103,6 @@ int main(int argc, char **argv, char **envp)
pidfile_create("winbindd");
-#if 0 /* not finished yet */
/* Ensure all cache and idmap caches are consistent
before we startup. */
@@ -1117,7 +1116,6 @@ int main(int argc, char **argv, char **envp)
}
return execve(argv[0], argv, envp);
}
-#endif
#if HAVE_SETPGID
/*