From cc47bf997517e1313a511aba60539d37c1366d62 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 5 Oct 2004 00:48:56 +0000 Subject: r2822: Fix parameter confusion in priming of name-to-sid cache. Found by Qiao Yang. (This used to be commit 30ae13cb9fbe5f04e46bcbd5e0c19da9b33341d5) --- source3/nsswitch/winbindd_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/nsswitch/winbindd_cache.c') diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c index 493255a5a6..a6ebafca96 100644 --- a/source3/nsswitch/winbindd_cache.c +++ b/source3/nsswitch/winbindd_cache.c @@ -751,8 +751,8 @@ do_query: if (domain->backend->consistent) { /* when the backend is consistent we can pre-prime some mappings */ wcache_save_name_to_sid(domain, NT_STATUS_OK, - (*info)[i].acct_name, domain->name, + (*info)[i].acct_name, (*info)[i].user_sid, SID_NAME_USER); wcache_save_sid_to_name(domain, NT_STATUS_OK, -- cgit