mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
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 1393c7c4ed
)
This commit is contained in:
parent
e7d230d327
commit
a833fbebcd
@ -486,7 +486,7 @@ BOOL winbindd_lookup_name_by_sid(DOM_SID *sid, fstring name, enum SID_NAME_USE *
|
|||||||
fstring sidstr;
|
fstring sidstr;
|
||||||
|
|
||||||
sid_to_string(sidstr, sid);
|
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);
|
rv = NT_STATUS_IS_OK(result);
|
||||||
|
Loading…
Reference in New Issue
Block a user