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-misc-tags/initial-v3-0-unstable~397 X-Git-Url: http://git.samba.org/samba.git/?p=sfrench%2Fsamba-autobuild%2F.git;a=commitdiff_plain;h=8c517f9aacef300e4280896e36ff71dc9aa35dc3;ds=inline 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 --- diff --git a/source/nsswitch/winbindd.c b/source/nsswitch/winbindd.c index e73fe79b1e1..790d59c0865 100644 --- a/source/nsswitch/winbindd.c +++ b/source/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 /*