r23040: Activate the winbindd cache validation code in the
authorMichael Adam <obnox@samba.org>
Mon, 21 May 2007 15:58:27 +0000 (15:58 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:22:16 +0000 (12:22 -0500)
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

source/nsswitch/winbindd.c

index e73fe79b1e153bc4d5cb03f962125a9b8dc0e9c5..790d59c08656bf6a7c81c82ae1261cd9eee685d5 100644 (file)
@@ -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
        /*