svn commit: samba r14404 - in trunk/source/nsswitch: .
jra at samba.org
jra at samba.org
Wed Mar 15 00:35:38 GMT 2006
Author: jra
Date: 2006-03-15 00:35:37 +0000 (Wed, 15 Mar 2006)
New Revision: 14404
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14404
Log:
Fix the build when nscd_flush_cache is detected
(variable definition was missing).
Jeremy.
Modified:
trunk/source/nsswitch/winbindd_dual.c
Changeset:
Modified: trunk/source/nsswitch/winbindd_dual.c
===================================================================
--- trunk/source/nsswitch/winbindd_dual.c 2006-03-15 00:10:38 UTC (rev 14403)
+++ trunk/source/nsswitch/winbindd_dual.c 2006-03-15 00:35:37 UTC (rev 14404)
@@ -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