1
0
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:
Joseph Sutton 2023-08-02 14:26:03 +12:00 committed by Andrew Bartlett
parent f05ed66295
commit 3870e00fc5

View File

@ -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;
}