From a833fbebcd5bf9663d3a26d67788ce047184c1b3 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Fri, 23 Nov 2001 03:33:22 +0000 Subject: I think you were passing the name of the SID, rather than the DOM_SID pointer itself. (Whatever that is.... ;-) (This used to be commit 1393c7c4ede1d6d624c3f5d0bfa4c18b0c6dc27f) --- source3/nsswitch/winbindd_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/nsswitch/winbindd_util.c') diff --git a/source3/nsswitch/winbindd_util.c b/source3/nsswitch/winbindd_util.c index 457a914e5c..9c10e1b2bd 100644 --- a/source3/nsswitch/winbindd_util.c +++ b/source3/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); -- cgit