summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-02 17:36:59 +0200
committerMichael Adam <obnox@samba.org>2013-09-10 23:30:19 +0200
commitde3bc10ef69f23e7dab9fc3f6990bb403824b14e (patch)
treeca062e342d47a722d0e66bb0e99e663090e29b49 /lib
parentc8c0632c871e838fc4465b2a69b4e059e9a126c0 (diff)
downloadsamba-de3bc10ef69f23e7dab9fc3f6990bb403824b14e.tar.gz
samba-de3bc10ef69f23e7dab9fc3f6990bb403824b14e.tar.bz2
samba-de3bc10ef69f23e7dab9fc3f6990bb403824b14e.zip
loadparm: add new parameter "acl allow execute always"
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/param/param_functions.c1
-rw-r--r--lib/param/param_table.c10
2 files changed, 11 insertions, 0 deletions
diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c
index fed2e95bf7..61f00448ca 100644
--- a/lib/param/param_functions.c
+++ b/lib/param/param_functions.c
@@ -132,6 +132,7 @@ FN_LOCAL_BOOL(afs_share, bAfs_Share)
FN_LOCAL_BOOL(acl_check_permissions, bAclCheckPermissions)
FN_LOCAL_BOOL(acl_group_control, bAclGroupControl)
FN_LOCAL_BOOL(acl_map_full_control, bAclMapFullControl)
+FN_LOCAL_BOOL(acl_allow_execute_always, bAclAllowExecuteAlways)
FN_LOCAL_INTEGER(defaultcase, iDefaultCase)
FN_LOCAL_INTEGER(minprintspace, iMinPrintSpace)
FN_LOCAL_INTEGER(printing, iPrinting)
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index 1b1497cc64..7b32998084 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -904,6 +904,16 @@ static struct parm_struct parm_table[] = {
.flags = FLAG_ADVANCED | FLAG_GLOBAL | FLAG_SHARE,
},
{
+ .label = "acl allow execute always",
+ .type = P_BOOL,
+ .p_class = P_LOCAL,
+ .offset = LOCAL_VAR(bAclAllowExecuteAlways),
+ .special = NULL,
+ .enum_list = NULL,
+ .flags = FLAG_ADVANCED | FLAG_GLOBAL | FLAG_SHARE,
+ },
+
+ {
.label = "create mask",
.type = P_OCTAL,
.p_class = P_LOCAL,