mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
nfs4_acls: Use correct type when checking ownerGID
uid and gid are members of the same union so this makes no difference, but for type correctness and readability use the gid to check for ownerGID. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14032 Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
f198a0867e
commit
3b3d722ce5
@ -856,7 +856,7 @@ static int smbacl4_substitute_simple(
|
||||
|
||||
if (!(ace->flags & SMB_ACE4_ID_SPECIAL) &&
|
||||
ace->aceFlags & SMB_ACE4_IDENTIFIER_GROUP &&
|
||||
ace->who.uid == ownerGID &&
|
||||
ace->who.gid == ownerGID &&
|
||||
!(ace->aceFlags & SMB_ACE4_INHERIT_ONLY_ACE) &&
|
||||
!(ace->aceFlags & SMB_ACE4_FILE_INHERIT_ACE) &&
|
||||
!(ace->aceFlags & SMB_ACE4_DIRECTORY_INHERIT_ACE)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user