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

jra at samba.org jra at samba.org
Wed Mar 15 00:35:52 GMT 2006


Author: jra
Date: 2006-03-15 00:35:51 +0000 (Wed, 15 Mar 2006)
New Revision: 14405

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

Log:
Fix the build when nscd_flush_cache is detected
(variable definition was missing).
Jeremy.

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


Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_dual.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd_dual.c	2006-03-15 00:35:37 UTC (rev 14404)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_dual.c	2006-03-15 00:35:51 UTC (rev 14405)
@@ -571,17 +571,19 @@
 	set_global_winbindd_state_online();
 
 #ifdef HAVE_NSCD_FLUSH_CACHE
-	/* Flush nscd caches to get accurate new information */
-	ret = nscd_flush_cache("passwd");
-	if (ret) {
-		DEBUG(5,("failed to flush nscd cache for 'passwd' service: %s\n",
-			strerror(ret)));
-	}
+	{
+		/* Flush nscd caches to get accurate new information */
+		int ret = nscd_flush_cache("passwd");
+		if (ret) {
+			DEBUG(5,("failed to flush nscd cache for 'passwd' service: %s\n",
+				strerror(ret)));
+		}
 
-	ret = nscd_flush_cache("group");
-	if (ret) {
-		DEBUG(5,("failed to flush nscd cache for 'group' service: %s\n",
-			strerror(ret)));
+		ret = nscd_flush_cache("group");
+		if (ret) {
+			DEBUG(5,("failed to flush nscd cache for 'group' service: %s\n",
+				strerror(ret)));
+		}
 	}
 #endif
 



More information about the samba-cvs mailing list