mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
libcli/security: Call dom_sid_compare_domain() instead of sid_compare_domain()
The two functions are identical in behaviour. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
f05ed66295
commit
3870e00fc5
@ -286,7 +286,7 @@ bool sid_peek_check_rid(const struct dom_sid *exp_dom_sid, const struct dom_sid
|
||||
return false;
|
||||
}
|
||||
|
||||
if (sid_compare_domain(exp_dom_sid, sid)!=0){
|
||||
if (dom_sid_compare_domain(exp_dom_sid, sid)!=0){
|
||||
*rid=(-1);
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user