]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r2001: Fix bug 1622. Thanks to Qiao Yang for the patch and Sven Thomsen for testing
authorVolker Lendecke <vlendec@samba.org>
Mon, 23 Aug 2004 13:25:10 +0000 (13:25 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:27 +0000 (10:52 -0500)
it.

Volker

source/nsswitch/winbindd_cache.c

index bbd98a620f6b8317e94464464156eec86f168004..b81f8ecd45ada9a49129b35e88996d82f0df6fe3 100644 (file)
@@ -1048,7 +1048,9 @@ do_query:
        /* 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;
 }