summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-11-18 19:36:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:21 -0500
commit2f167e909e08aac3b5ef7e20fe1b264f3c90382f (patch)
tree30055e5bf2e805ba601ca80b26483714ff757d6e /source3/include
parentb74b9c5037c37c42c3337608774c8b0ed2611bbc (diff)
downloadsamba-2f167e909e08aac3b5ef7e20fe1b264f3c90382f.tar.gz
samba-2f167e909e08aac3b5ef7e20fe1b264f3c90382f.tar.bz2
samba-2f167e909e08aac3b5ef7e20fe1b264f3c90382f.zip
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)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/trans2.h6
1 files changed, 6 insertions, 0 deletions
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