summaryrefslogtreecommitdiffstats
path: root/source3/modules/vfs_afsacl.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-06-02 23:48:15 +0200
committerGünther Deschner <gd@samba.org>2010-06-03 11:00:25 +0200
commit37b978c343b5727c7257d7a0a574ba82bb0c9c0f (patch)
treef0f03264a264679fd9618b7875356b703c443ea9 /source3/modules/vfs_afsacl.c
parent2794d2ee7f8e088060e4b86532176673cf7c2580 (diff)
downloadsamba-37b978c343b5727c7257d7a0a574ba82bb0c9c0f.tar.gz
samba-37b978c343b5727c7257d7a0a574ba82bb0c9c0f.tar.xz
samba-37b978c343b5727c7257d7a0a574ba82bb0c9c0f.zip
s3-security: use shared "Generic access rights".
Guenther
Diffstat (limited to 'source3/modules/vfs_afsacl.c')
-rw-r--r--source3/modules/vfs_afsacl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_afsacl.c b/source3/modules/vfs_afsacl.c
index dacd58f7aee..9dd5df87ec8 100644
--- a/source3/modules/vfs_afsacl.c
+++ b/source3/modules/vfs_afsacl.c
@@ -514,7 +514,7 @@ static struct static_dir_ace_mapping {
/* FULL inherit only -- counterpart to previous one */
{ 0, SEC_ACE_FLAG_OBJECT_INHERIT|SEC_ACE_FLAG_CONTAINER_INHERIT|SEC_ACE_FLAG_INHERIT_ONLY,
- PERMS_FULL | GENERIC_RIGHT_WRITE_ACCESS, 127 /* rlidwka */ },
+ PERMS_FULL | SEC_GENERIC_WRITE, 127 /* rlidwka */ },
/* CHANGE without inheritance -- in all cases here we also get
the corresponding INHERIT_ONLY ACE in the same ACL */
@@ -522,7 +522,7 @@ static struct static_dir_ace_mapping {
/* CHANGE inherit only -- counterpart to previous one */
{ 0, SEC_ACE_FLAG_OBJECT_INHERIT|SEC_ACE_FLAG_CONTAINER_INHERIT|SEC_ACE_FLAG_INHERIT_ONLY,
- PERMS_CHANGE | GENERIC_RIGHT_WRITE_ACCESS, 63 /* rlidwk */ },
+ PERMS_CHANGE | SEC_GENERIC_WRITE, 63 /* rlidwk */ },
/* End marker, hopefully there's no afs right 9999 :-) */
{ 0, 0, 0, 9999 }