diff options
author | Volker Lendecke <vlendec@samba.org> | 2004-08-23 13:25:10 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:52:27 -0500 |
commit | 8e309cc7c70ab9c94b954f2fed5c4d8e2945f48c (patch) | |
tree | dc18a460b971bbee9e92d947ac3020b205e7d6cc | |
parent | 2ea1c9de9fe30a8c1929f7cc8c907f6242ea7fd0 (diff) | |
download | samba-8e309cc7c70ab9c94b954f2fed5c4d8e2945f48c.tar.gz samba-8e309cc7c70ab9c94b954f2fed5c4d8e2945f48c.tar.bz2 samba-8e309cc7c70ab9c94b954f2fed5c4d8e2945f48c.zip |
r2001: Fix bug 1622. Thanks to Qiao Yang for the patch and Sven Thomsen for testing
it.
Volker
(This used to be commit 0a3413fbe378bc378aea7ffe9a6af8b65ce49f4a)
-rw-r--r-- | source3/nsswitch/winbindd_cache.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c index bbd98a620f..b81f8ecd45 100644 --- a/source3/nsswitch/winbindd_cache.c +++ b/source3/nsswitch/winbindd_cache.c @@ -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; } |