summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nsswitch/winbindd_util.c')
-rw-r--r--source3/nsswitch/winbindd_util.c2
1 files changed, 1 insertions, 1 deletions
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);