diff options
author | Volker Lendecke <vlendec@samba.org> | 2004-08-23 13:25:10 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2004-08-23 13:25:10 +0000 |
commit | 1e85cfc491d04112db31a40524ad3b5e80ab0215 (patch) | |
tree | fdc9987db67d1dd2a75646bab544d33d946273ec /source/nsswitch | |
parent | 75e3ce50ea5af02cfc9a977407a4e7a3ecc4dd35 (diff) | |
download | samba-1e85cfc491d04112db31a40524ad3b5e80ab0215.tar.gz samba-1e85cfc491d04112db31a40524ad3b5e80ab0215.tar.xz samba-1e85cfc491d04112db31a40524ad3b5e80ab0215.zip |
r2001: Fix bug 1622. Thanks to Qiao Yang for the patch and Sven Thomsen for testing
it.
Volker
Diffstat (limited to 'source/nsswitch')
-rw-r--r-- | source/nsswitch/winbindd_cache.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/nsswitch/winbindd_cache.c b/source/nsswitch/winbindd_cache.c index bbd98a620f6..b81f8ecd45a 100644 --- a/source/nsswitch/winbindd_cache.c +++ b/source/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; } |