mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
net_rpc: Use dom_sid_equal where appropriate
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
353a947b4a
commit
99a7756598
@ -4849,8 +4849,9 @@ static bool is_alias_member(struct dom_sid *sid, struct full_alias *alias)
|
||||
int i;
|
||||
|
||||
for (i=0; i<alias->num_members; i++) {
|
||||
if (dom_sid_compare(sid, &alias->members[i]) == 0)
|
||||
if (dom_sid_equal(sid, &alias->members[i])) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user