svn commit: samba r2002 - trunk/source/nsswitch

vlendec at samba.org vlendec at samba.org
Mon Aug 23 13:26:49 GMT 2004


Author: vlendec
Date: 2004-08-23 13:26:48 +0000 (Mon, 23 Aug 2004)
New Revision: 2002

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=2002&nolog=1

Log:
Fix bug 1622. Thanks to Qiao Yang for the patch and Sven Thomsen for testing
it.

Volker

Modified:
   trunk/source/nsswitch/winbindd_cache.c


Changeset:
Modified: trunk/source/nsswitch/winbindd_cache.c
===================================================================
--- trunk/source/nsswitch/winbindd_cache.c	2004-08-23 13:25:10 UTC (rev 2001)
+++ trunk/source/nsswitch/winbindd_cache.c	2004-08-23 13:26:48 UTC (rev 2002)
@@ -1070,8 +1070,10 @@
 	/* and save it */
 	refresh_sequence_number(domain, False);
 	wcache_save_sid_to_name(domain, status, sid, *domain_name, *name, *type);
-	wcache_save_name_to_sid(domain, status, *domain_name, *name, sid, *type);
 
+	/* We can't save the name to sid mapping here, as with sid history a
+	 * later name2sid would give the wrong sid. */
+
 	return status;
 }
 



More information about the samba-cvs mailing list