Index: smbd/posix_acls.c =================================================================== --- smbd/posix_acls.c (Revision 24633) +++ smbd/posix_acls.c (Revision 24634) @@ -3107,7 +3107,7 @@ { mode_t perms; SEC_ACCESS acc; - int acl_type; + int nt_acl_type; /* Tru64 has "acl_type" as a macro.. */ DOM_SID trustee; switch (ugw) { @@ -3136,13 +3136,13 @@ return NT_STATUS_INVALID_PARAMETER; } acc = map_canon_ace_perms(SNUM(fsp->conn), - &acl_type, + &nt_acl_type, perms, fsp->is_directory); init_sec_ace(se, &trustee, - acl_type, + nt_acl_type, acc, 0); return NT_STATUS_OK;