summaryrefslogtreecommitdiff
path: root/source3
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
commita833fbebcd5bf9663d3a26d67788ce047184c1b3 (patch)
tree41ed69e66c58321d77442feb89b1f4625efc1528 /source3
parente7d230d3271a61292a256e3e0fd1d2c51e443777 (diff)
downloadsamba-a833fbebcd5bf9663d3a26d67788ce047184c1b3.tar.gz
samba-a833fbebcd5bf9663d3a26d67788ce047184c1b3.tar.bz2
samba-a833fbebcd5bf9663d3a26d67788ce047184c1b3.zip
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)
Diffstat (limited to 'source3')
-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);