svn commit: samba r23040 - in branches/SAMBA_3_0/source/nsswitch: .

obnox at samba.org obnox at samba.org
Mon May 21 15:58:28 GMT 2007


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
 	/*



More information about the samba-cvs mailing list