From 2f167e909e08aac3b5ef7e20fe1b264f3c90382f Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 18 Nov 2004 19:36:50 +0000 Subject: r3859: Ensure if num_acls is set to 0xFFFF this field is ignored. Use def_acl everywhere instead of dir_acl. Jeremy. (This used to be commit d28611c960f87830aa8449725951984aa155b089) --- source3/include/trans2.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source3/include') diff --git a/source3/include/trans2.h b/source3/include/trans2.h index 55b28ae937..b1fe2d9d83 100644 --- a/source3/include/trans2.h +++ b/source3/include/trans2.h @@ -506,6 +506,10 @@ In the same format as the uid/gid fields in the other UNIX extensions definitions. Use 0xFFFFFFFFFFFFFFFF for the MASK and OTHER entry types. +If the Number of ACE entries for either file or default ACE's +is set to 0xFFFF this means ignore this kind of ACE (and the +number of entries sent will be zero. + */ /* The query/set info levels for POSIX ACLs. */ @@ -530,4 +534,6 @@ the MASK and OTHER entry types. #define SMB_POSIX_ACL_HEADER_SIZE 6 #define SMB_POSIX_ACL_ENTRY_SIZE 10 + +#define SMB_POSIX_IGNORE_ACE_ENTRIES 0xFFFF #endif -- cgit