svn commit: samba r2366 - in trunk/source/nsswitch: .

vlendec at samba.org vlendec at samba.org
Thu Sep 16 12:26:31 GMT 2004


Author: vlendec
Date: 2004-09-16 12:26:31 +0000 (Thu, 16 Sep 2004)
New Revision: 2366

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/trunk/source/nsswitch&rev=2366&nolog=1

Log:
Bugfix for QUERY_ONLY in cached request.

Volker

Modified:
   trunk/source/nsswitch/winbindd_sid.c


Changeset:
Modified: trunk/source/nsswitch/winbindd_sid.c
===================================================================
--- trunk/source/nsswitch/winbindd_sid.c	2004-09-16 05:30:19 UTC (rev 2365)
+++ trunk/source/nsswitch/winbindd_sid.c	2004-09-16 12:26:31 UTC (rev 2366)
@@ -514,7 +514,7 @@
 	}
 	
 	if ( state->request.flags & WBFLAG_QUERY_ONLY ) 
-		flags = ID_QUERY_ONLY;
+		flags |= ID_QUERY_ONLY;
 	
 	/* Find uid for this sid and return it */
 
@@ -553,7 +553,7 @@
 	}
 	
 	if ( state->request.flags & WBFLAG_QUERY_ONLY ) 
-		flags = ID_QUERY_ONLY;
+		flags |= ID_QUERY_ONLY;
 	
 	/* Find uid for this sid and return it */
 



More information about the samba-cvs mailing list