1
0
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:
James Peach 2007-05-01 20:03:44 +00:00 committed by Gerald (Jerry) Carter
parent cf11b43149
commit bbc102172a

View File

@ -220,6 +220,5 @@ BOOL sid_check_is_in_our_domain(const DOM_SID *sid)
sid_copy(&dom_sid, sid); sid_copy(&dom_sid, sid);
sid_split_rid(&dom_sid, &rid); sid_split_rid(&dom_sid, &rid);
return sid_check_is_domain(&dom_sid);
return sid_equal(&dom_sid, get_global_sam_sid());
} }