From: Michael Adam Date: Mon, 21 May 2007 15:58:27 +0000 (+0000) Subject: r23040: Activate the winbindd cache validation code in the X-Git-Tag: samba-4.0.0alpha6~801^2~5822 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1f907b4957ee3e1b30e5c84b9194d335375ec08e;p=thirdparty%2Fsamba.git 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) --- diff --git a/source3/nsswitch/winbindd.c b/source3/nsswitch/winbindd.c index e73fe79b1e1..790d59c0865 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 /*