summaryrefslogtreecommitdiffstats
path: root/source/nsswitch
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2001-11-23 03:33:22 +0000
committerMartin Pool <mbp@samba.org>2001-11-23 03:33:22 +0000
commit1393c7c4ede1d6d624c3f5d0bfa4c18b0c6dc27f (patch)
tree40840449b504772dd8e9bda52bea652686c88baf /source/nsswitch
parent87955fcf303d82d38ae543e7986c59fd086dc2db (diff)
downloadsamba-1393c7c4ede1d6d624c3f5d0bfa4c18b0c6dc27f.tar.gz
samba-1393c7c4ede1d6d624c3f5d0bfa4c18b0c6dc27f.tar.xz
samba-1393c7c4ede1d6d624c3f5d0bfa4c18b0c6dc27f.zip
I think you were passing the name of the SID, rather than the DOM_SID
pointer itself. (Whatever that is.... ;-)
Diffstat (limited to 'source/nsswitch')
-rw-r--r--source/nsswitch/winbindd_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nsswitch/winbindd_util.c b/source/nsswitch/winbindd_util.c
index 457a914e5ca..9c10e1b2bd1 100644
--- a/source/nsswitch/winbindd_util.c
+++ b/source/nsswitch/winbindd_util.c
@@ -486,7 +486,7 @@ BOOL winbindd_lookup_name_by_sid(DOM_SID *sid, fstring name, enum SID_NAME_USE *
fstring sidstr;
sid_to_string(sidstr, sid);
- store_name_by_sid_in_cache(sidstr, "", SID_NAME_USE_NONE);
+ store_name_by_sid_in_cache(sid, "", SID_NAME_USE_NONE);
}
rv = NT_STATUS_IS_OK(result);