summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-10-05 00:48:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:53 -0500
commitcc47bf997517e1313a511aba60539d37c1366d62 (patch)
treee1a46f16699b5777825e26d15e503af493d85f99 /source3
parent2d016a67b87b5fee71fbdd33ea6b6fa78b0c8828 (diff)
downloadsamba-cc47bf997517e1313a511aba60539d37c1366d62.tar.gz
samba-cc47bf997517e1313a511aba60539d37c1366d62.tar.bz2
samba-cc47bf997517e1313a511aba60539d37c1366d62.zip
r2822: Fix parameter confusion in priming of name-to-sid cache. Found by
Qiao Yang. (This used to be commit 30ae13cb9fbe5f04e46bcbd5e0c19da9b33341d5)
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/winbindd_cache.c2
1 files changed, 1 insertions, 1 deletions
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,