Changeset 733 for branches/samba-3.5.x/source3/lib/util_seaccess.c
- Timestamp:
- Nov 12, 2012, 5:09:31 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.5.x/source3/lib/util_seaccess.c
r599 r733 159 159 int i; 160 160 uint32_t bits_remaining; 161 uint32_t explicitly_denied_bits = 0; 161 162 162 163 *access_granted = access_desired; … … 224 225 case SEC_ACE_TYPE_ACCESS_DENIED: 225 226 case SEC_ACE_TYPE_ACCESS_DENIED_OBJECT: 226 if (bits_remaining & ace->access_mask) { 227 return NT_STATUS_ACCESS_DENIED; 228 } 227 explicitly_denied_bits |= (bits_remaining & ace->access_mask); 229 228 break; 230 229 default: /* Other ACE types not handled/supported */ … … 232 231 } 233 232 } 233 234 bits_remaining |= explicitly_denied_bits; 234 235 235 236 done:
Note:
See TracChangeset
for help on using the changeset viewer.