Author: obnox
Date: 2007-05-21 15:58:27 +0000 (Mon, 21 May 2007)
New Revision: 23040

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23040

Log:
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


Modified:
   branches/SAMBA_3_0/source/nsswitch/winbindd.c


Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd.c       2007-05-21 13:40:27 UTC 
(rev 23039)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd.c       2007-05-21 15:58:27 UTC 
(rev 23040)
@@ -1103,7 +1103,6 @@
 
        pidfile_create("winbindd");
 
-#if 0  /* not finished yet */
        /* Ensure all cache and idmap caches are consistent
           before we startup. */
 
@@ -1117,7 +1116,6 @@
                }
                return execve(argv[0], argv, envp);
        }
-#endif
 
 #if HAVE_SETPGID
        /*

Reply via email to