2 * Unix SMB/CIFS implementation.
5 * Copyright (C) Steven Danneman, 2008
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 3 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, see <http://www.gnu.org/licenses/>.
24 /* OneFS Module smb.conf parameters and defaults */
27 * Specifies when ACLs presented to Windows should be canonicalized
28 * into the ordering which Explorer expects.
30 enum onefs_acl_wire_format
32 ACL_FORMAT_RAW, /**< Never canonicalize */
33 ACL_FORMAT_WINDOWS_SD, /**< Only canonicalize synthetic ACLs */
34 ACL_FORMAT_ALWAYS /**< Always canonicalize */
37 const struct enum_list enum_onefs_acl_wire_format[] = {
38 {ACL_FORMAT_RAW, "No Format"},
39 {ACL_FORMAT_WINDOWS_SD, "Format Windows SD"},
40 {ACL_FORMAT_ALWAYS, "Always Format SD"},
44 #define PARM_ONEFS_TYPE "onefs"
45 #define PARM_ACL_WIRE_FORMAT "acl wire format"
46 #define PARM_ACL_WIRE_FORMAT_DEFAULT ACL_FORMAT_WINDOWS_SD
47 #define PARM_SIMPLE_FILE_SHARING_COMPATIBILITY_MODE "simple file sharing compatibility mode"
48 #define PARM_SIMPLE_FILE_SHARING_COMPATIBILITY_MODE_DEFAULT false
49 #define PARM_CREATOR_OWNER_GETS_FULL_CONTROL "creator owner gets full control"
50 #define PARM_CREATOR_OWNER_GETS_FULL_CONTROL_DEFAULT true