mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r22631: Remove the possibility of sid_check_is_domain and
sid_check_is_in_our_domain getting out of sync.
This commit is contained in:
parent
cf11b43149
commit
bbc102172a
@ -220,6 +220,5 @@ BOOL sid_check_is_in_our_domain(const DOM_SID *sid)
|
||||
|
||||
sid_copy(&dom_sid, sid);
|
||||
sid_split_rid(&dom_sid, &rid);
|
||||
|
||||
return sid_equal(&dom_sid, get_global_sam_sid());
|
||||
return sid_check_is_domain(&dom_sid);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user