2 Unix SMB/CIFS implementation.
3 Parameter loading functions
4 Copyright (C) Karl Auer 1993-1998
6 Largely re-written by Andrew Tridgell, September 1994
8 Copyright (C) Simo Sorce 2001
9 Copyright (C) Alexander Bokovoy 2002
10 Copyright (C) Stefan (metze) Metzmacher 2002
11 Copyright (C) Jim McDonough <jmcd@us.ibm.com> 2003
12 Copyright (C) Michael Adam 2008
13 Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2007
14 Copyright (C) Andrew Bartlett 2011
16 This program is free software; you can redistribute it and/or modify
17 it under the terms of the GNU General Public License as published by
18 the Free Software Foundation; either version 3 of the License, or
19 (at your option) any later version.
21 This program is distributed in the hope that it will be useful,
22 but WITHOUT ANY WARRANTY; without even the implied warranty of
23 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 GNU General Public License for more details.
26 You should have received a copy of the GNU General Public License
27 along with this program. If not, see <http://www.gnu.org/licenses/>.
30 static const struct enum_list enum_protocol
[] = {
31 {PROTOCOL_SMB2_10
, "SMB2"}, /* for now keep PROTOCOL_SMB2_10 */
32 {PROTOCOL_SMB3_00
, "SMB3"}, /* for now keep PROTOCOL_SMB3_00 */
33 {PROTOCOL_SMB3_00
, "SMB3_00"},
34 {PROTOCOL_SMB2_24
, "SMB2_24"},
35 {PROTOCOL_SMB2_22
, "SMB2_22"},
36 {PROTOCOL_SMB2_10
, "SMB2_10"},
37 {PROTOCOL_SMB2_02
, "SMB2_02"},
38 {PROTOCOL_NT1
, "NT1"},
39 {PROTOCOL_LANMAN2
, "LANMAN2"},
40 {PROTOCOL_LANMAN1
, "LANMAN1"},
41 {PROTOCOL_CORE
, "CORE"},
42 {PROTOCOL_COREPLUS
, "COREPLUS"},
43 {PROTOCOL_COREPLUS
, "CORE+"},
47 static const struct enum_list enum_security
[] = {
50 {SEC_DOMAIN
, "DOMAIN"},
51 #if (defined(HAVE_ADS) || _SAMBA_BUILD_ >= 4)
57 static const struct enum_list enum_bool_auto
[] = {
68 static const struct enum_list enum_csc_policy
[] = {
69 {CSC_POLICY_MANUAL
, "manual"},
70 {CSC_POLICY_DOCUMENTS
, "documents"},
71 {CSC_POLICY_PROGRAMS
, "programs"},
72 {CSC_POLICY_DISABLE
, "disable"},
76 /* Server role options */
77 static const struct enum_list enum_server_role
[] = {
79 {ROLE_STANDALONE
, "standalone server"},
80 {ROLE_STANDALONE
, "standalone"},
81 {ROLE_DOMAIN_MEMBER
, "member server"},
82 {ROLE_DOMAIN_MEMBER
, "member"},
83 {ROLE_DOMAIN_PDC
, "classic primary domain controller"},
84 {ROLE_DOMAIN_BDC
, "classic backup domain controller"},
85 {ROLE_ACTIVE_DIRECTORY_DC
, "active directory domain controller"},
86 {ROLE_ACTIVE_DIRECTORY_DC
, "domain controller"},
87 {ROLE_ACTIVE_DIRECTORY_DC
, "dc"},
91 /* SMB signing types. */
92 static const struct enum_list enum_smb_signing_vals
[] = {
93 {SMB_SIGNING_DEFAULT
, "default"},
94 {SMB_SIGNING_OFF
, "No"},
95 {SMB_SIGNING_OFF
, "False"},
96 {SMB_SIGNING_OFF
, "0"},
97 {SMB_SIGNING_OFF
, "Off"},
98 {SMB_SIGNING_OFF
, "disabled"},
99 {SMB_SIGNING_IF_REQUIRED
, "if_required"},
100 {SMB_SIGNING_IF_REQUIRED
, "Yes"},
101 {SMB_SIGNING_IF_REQUIRED
, "True"},
102 {SMB_SIGNING_IF_REQUIRED
, "1"},
103 {SMB_SIGNING_IF_REQUIRED
, "On"},
104 {SMB_SIGNING_IF_REQUIRED
, "enabled"},
105 {SMB_SIGNING_IF_REQUIRED
, "auto"},
106 {SMB_SIGNING_REQUIRED
, "required"},
107 {SMB_SIGNING_REQUIRED
, "mandatory"},
108 {SMB_SIGNING_REQUIRED
, "force"},
109 {SMB_SIGNING_REQUIRED
, "forced"},
110 {SMB_SIGNING_REQUIRED
, "enforced"},
114 /* DNS update options. */
115 static const struct enum_list enum_dns_update_settings
[] = {
116 {DNS_UPDATE_OFF
, "disabled"},
117 {DNS_UPDATE_OFF
, "No"},
118 {DNS_UPDATE_OFF
, "False"},
119 {DNS_UPDATE_OFF
, "0"},
120 {DNS_UPDATE_OFF
, "Off"},
121 {DNS_UPDATE_ON
, "nonsecure and secure"},
122 {DNS_UPDATE_ON
, "nonsecure"},
123 {DNS_UPDATE_ON
, "Yes"},
124 {DNS_UPDATE_ON
, "True"},
125 {DNS_UPDATE_ON
, "1"},
126 {DNS_UPDATE_ON
, "On"},
127 {DNS_UPDATE_ON
, "enabled"},
128 {DNS_UPDATE_SIGNED
, "secure only"},
129 {DNS_UPDATE_SIGNED
, "secure"},
130 {DNS_UPDATE_SIGNED
, "signed"},
135 Do you want session setups at user level security with a invalid
136 password to be rejected or allowed in as guest? WinNT rejects them
137 but it can be a pain as it means "net view" needs to use a password
139 You have 3 choices in the setting of map_to_guest:
141 "Never" means session setups with an invalid password
142 are rejected. This is the default.
144 "Bad User" means session setups with an invalid password
145 are rejected, unless the username does not exist, in which case it
146 is treated as a guest login
148 "Bad Password" means session setups with an invalid password
149 are treated as a guest login
151 Note that map_to_guest only has an effect in user or server
155 static const struct enum_list enum_map_to_guest
[] = {
156 {NEVER_MAP_TO_GUEST
, "Never"},
157 {MAP_TO_GUEST_ON_BAD_USER
, "Bad User"},
158 {MAP_TO_GUEST_ON_BAD_PASSWORD
, "Bad Password"},
159 {MAP_TO_GUEST_ON_BAD_UID
, "Bad Uid"},
163 /* Config backend options */
165 static const struct enum_list enum_config_backend
[] = {
166 {CONFIG_BACKEND_FILE
, "file"},
167 {CONFIG_BACKEND_REGISTRY
, "registry"},
172 /* ADS kerberos ticket verification options */
174 static const struct enum_list enum_kerberos_method
[] = {
175 {KERBEROS_VERIFY_SECRETS
, "default"},
176 {KERBEROS_VERIFY_SECRETS
, "secrets only"},
177 {KERBEROS_VERIFY_SYSTEM_KEYTAB
, "system keytab"},
178 {KERBEROS_VERIFY_DEDICATED_KEYTAB
, "dedicated keytab"},
179 {KERBEROS_VERIFY_SECRETS_AND_KEYTAB
, "secrets and keytab"},
184 /* ACL compatibility options. */
185 static const struct enum_list enum_acl_compat_vals
[] = {
186 { ACL_COMPAT_AUTO
, "auto" },
187 { ACL_COMPAT_WINNT
, "winnt" },
188 { ACL_COMPAT_WIN2K
, "win2k" },
193 static const struct enum_list enum_printing
[] = {
194 {PRINT_SYSV
, "sysv"},
196 {PRINT_HPUX
, "hpux"},
200 {PRINT_LPRNG
, "lprng"},
202 {PRINT_CUPS
, "cups"},
205 {PRINT_IPRINT
, "iprint"},
208 {PRINT_LPROS2
, "os2"},
209 #if defined(DEVELOPER) || defined(ENABLE_SELFTEST)
210 {PRINT_TEST
, "test"},
212 #endif /* DEVELOPER */
216 static const struct enum_list enum_ldap_sasl_wrapping
[] = {
218 {ADS_AUTH_SASL_SIGN
, "sign"},
219 {ADS_AUTH_SASL_SEAL
, "seal"},
223 static const struct enum_list enum_ldap_ssl
[] = {
224 {LDAP_SSL_OFF
, "no"},
225 {LDAP_SSL_OFF
, "off"},
226 {LDAP_SSL_START_TLS
, "start tls"},
227 {LDAP_SSL_START_TLS
, "start_tls"},
231 /* LDAP Dereferencing Alias types */
232 #define SAMBA_LDAP_DEREF_NEVER 0
233 #define SAMBA_LDAP_DEREF_SEARCHING 1
234 #define SAMBA_LDAP_DEREF_FINDING 2
235 #define SAMBA_LDAP_DEREF_ALWAYS 3
237 static const struct enum_list enum_ldap_deref
[] = {
238 {SAMBA_LDAP_DEREF_NEVER
, "never"},
239 {SAMBA_LDAP_DEREF_SEARCHING
, "searching"},
240 {SAMBA_LDAP_DEREF_FINDING
, "finding"},
241 {SAMBA_LDAP_DEREF_ALWAYS
, "always"},
245 static const struct enum_list enum_ldap_passwd_sync
[] = {
246 {LDAP_PASSWD_SYNC_OFF
, "no"},
247 {LDAP_PASSWD_SYNC_OFF
, "off"},
248 {LDAP_PASSWD_SYNC_ON
, "yes"},
249 {LDAP_PASSWD_SYNC_ON
, "on"},
250 {LDAP_PASSWD_SYNC_ONLY
, "only"},
254 static const struct enum_list enum_map_readonly
[] = {
255 {MAP_READONLY_NO
, "no"},
256 {MAP_READONLY_NO
, "false"},
257 {MAP_READONLY_NO
, "0"},
258 {MAP_READONLY_YES
, "yes"},
259 {MAP_READONLY_YES
, "true"},
260 {MAP_READONLY_YES
, "1"},
261 {MAP_READONLY_PERMISSIONS
, "permissions"},
262 {MAP_READONLY_PERMISSIONS
, "perms"},
266 static const struct enum_list enum_case
[] = {
267 {CASE_LOWER
, "lower"},
268 {CASE_UPPER
, "upper"},
273 /* Note: We do not initialise the defaults union - it is not allowed in ANSI C
275 * The FLAG_HIDE is explicit. Parameters set this way do NOT appear in any edit
276 * screen in SWAT. This is used to exclude parameters as well as to squash all
277 * parameters that have been duplicated by pseudonyms.
279 * NOTE: To display a parameter in BASIC view set FLAG_BASIC
280 * Any parameter that does NOT have FLAG_ADVANCED will not disply at all
281 * Set FLAG_SHARE and FLAG_PRINT to specifically display parameters in
284 * NOTE2: Handling of duplicated (synonym) parameters:
285 * Only the first occurance of a parameter should be enabled by FLAG_BASIC
286 * and/or FLAG_ADVANCED. All duplicates following the first mention should be
287 * set to FLAG_HIDE. ie: Make you must place the parameter that has the preferred
288 * name first, and all synonyms must follow it with the FLAG_HIDE attribute.
291 #define GLOBAL_VAR(name) offsetof(struct loadparm_global, name)
292 #define LOCAL_VAR(name) offsetof(struct loadparm_service, name)
295 static struct parm_struct parm_table
[] = {
296 {N_("Base Options"), P_SEP
, P_SEPARATOR
},
299 .label
= "dos charset",
302 .offset
= GLOBAL_VAR(dos_charset
),
303 .special
= handle_dos_charset
,
305 .flags
= FLAG_ADVANCED
308 .label
= "unix charset",
311 .offset
= GLOBAL_VAR(unix_charset
),
312 .special
= handle_charset
,
314 .flags
= FLAG_ADVANCED
320 .offset
= LOCAL_VAR(comment
),
323 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
329 .offset
= LOCAL_VAR(szPath
),
332 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
335 .label
= "directory",
338 .offset
= LOCAL_VAR(szPath
),
344 .label
= "workgroup",
347 .offset
= GLOBAL_VAR(szWorkgroup
),
350 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_WIZARD
,
356 .offset
= GLOBAL_VAR(szRealm
),
357 .special
= handle_realm
,
359 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_WIZARD
,
362 .label
= "netbios name",
365 .offset
= GLOBAL_VAR(szNetbiosName
),
368 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_WIZARD
,
371 .label
= "netbios aliases",
374 .offset
= GLOBAL_VAR(szNetbiosAliases
),
375 .special
= handle_netbios_aliases
,
377 .flags
= FLAG_ADVANCED
,
380 .label
= "netbios scope",
383 .offset
= GLOBAL_VAR(szNetbiosScope
),
386 .flags
= FLAG_ADVANCED
,
389 .label
= "server string",
392 .offset
= GLOBAL_VAR(szServerString
),
395 .flags
= FLAG_BASIC
| FLAG_ADVANCED
,
398 .label
= "interfaces",
401 .offset
= GLOBAL_VAR(szInterfaces
),
404 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_WIZARD
,
407 .label
= "bind interfaces only",
410 .offset
= GLOBAL_VAR(bBindInterfacesOnly
),
413 .flags
= FLAG_ADVANCED
| FLAG_WIZARD
,
416 .label
= "config backend",
419 .offset
= GLOBAL_VAR(ConfigBackend
),
421 .enum_list
= enum_config_backend
,
422 .flags
= FLAG_HIDE
|FLAG_ADVANCED
|FLAG_META
,
425 .label
= "server role",
428 .offset
= GLOBAL_VAR(server_role
),
430 .enum_list
= enum_server_role
,
431 .flags
= FLAG_BASIC
| FLAG_ADVANCED
,
434 {N_("Security Options"), P_SEP
, P_SEPARATOR
},
440 .offset
= GLOBAL_VAR(security
),
442 .enum_list
= enum_security
,
443 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_WIZARD
,
446 .label
= "auth methods",
449 .offset
= GLOBAL_VAR(AuthMethods
),
452 .flags
= FLAG_ADVANCED
,
455 .label
= "encrypt passwords",
458 .offset
= GLOBAL_VAR(bEncryptPasswords
),
461 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_WIZARD
,
464 .label
= "client schannel",
467 .offset
= GLOBAL_VAR(clientSchannel
),
469 .enum_list
= enum_bool_auto
,
470 .flags
= FLAG_BASIC
| FLAG_ADVANCED
,
473 .label
= "server schannel",
476 .offset
= GLOBAL_VAR(serverSchannel
),
478 .enum_list
= enum_bool_auto
,
479 .flags
= FLAG_BASIC
| FLAG_ADVANCED
,
482 .label
= "allow trusted domains",
485 .offset
= GLOBAL_VAR(bAllowTrustedDomains
),
488 .flags
= FLAG_ADVANCED
,
491 .label
= "map to guest",
494 .offset
= GLOBAL_VAR(map_to_guest
),
496 .enum_list
= enum_map_to_guest
,
497 .flags
= FLAG_ADVANCED
,
500 .label
= "null passwords",
503 .offset
= GLOBAL_VAR(bNullPasswords
),
506 .flags
= FLAG_ADVANCED
| FLAG_DEPRECATED
,
509 .label
= "obey pam restrictions",
512 .offset
= GLOBAL_VAR(bObeyPamRestrictions
),
515 .flags
= FLAG_ADVANCED
,
518 .label
= "password server",
521 .offset
= GLOBAL_VAR(szPasswordServer
),
524 .flags
= FLAG_ADVANCED
| FLAG_WIZARD
,
527 .label
= "smb passwd file",
530 .offset
= GLOBAL_VAR(szSMBPasswdFile
),
533 .flags
= FLAG_ADVANCED
,
536 .label
= "private dir",
539 .offset
= GLOBAL_VAR(szPrivateDir
),
542 .flags
= FLAG_ADVANCED
,
545 .label
= "private directory",
548 .offset
= GLOBAL_VAR(szPrivateDir
),
554 .label
= "passdb backend",
557 .offset
= GLOBAL_VAR(passdb_backend
),
560 .flags
= FLAG_ADVANCED
| FLAG_WIZARD
,
563 .label
= "algorithmic rid base",
566 .offset
= GLOBAL_VAR(AlgorithmicRidBase
),
569 .flags
= FLAG_ADVANCED
,
572 .label
= "root directory",
575 .offset
= GLOBAL_VAR(szRootdir
),
578 .flags
= FLAG_ADVANCED
,
584 .offset
= GLOBAL_VAR(szRootdir
),
593 .offset
= GLOBAL_VAR(szRootdir
),
599 .label
= "guest account",
602 .offset
= GLOBAL_VAR(szGuestaccount
),
605 .flags
= FLAG_BASIC
| FLAG_ADVANCED
,
608 .label
= "enable privileges",
611 .offset
= GLOBAL_VAR(bEnablePrivileges
),
614 .flags
= FLAG_ADVANCED
| FLAG_DEPRECATED
,
618 .label
= "pam password change",
621 .offset
= GLOBAL_VAR(bPamPasswordChange
),
624 .flags
= FLAG_ADVANCED
,
627 .label
= "passwd program",
630 .offset
= GLOBAL_VAR(szPasswdProgram
),
633 .flags
= FLAG_ADVANCED
,
636 .label
= "passwd chat",
639 .offset
= GLOBAL_VAR(szPasswdChat
),
642 .flags
= FLAG_ADVANCED
,
645 .label
= "passwd chat debug",
648 .offset
= GLOBAL_VAR(bPasswdChatDebug
),
651 .flags
= FLAG_ADVANCED
,
654 .label
= "passwd chat timeout",
657 .offset
= GLOBAL_VAR(iPasswdChatTimeout
),
660 .flags
= FLAG_ADVANCED
,
663 .label
= "check password script",
666 .offset
= GLOBAL_VAR(szCheckPasswordScript
),
669 .flags
= FLAG_ADVANCED
,
672 .label
= "username map",
675 .offset
= GLOBAL_VAR(szUsernameMap
),
678 .flags
= FLAG_ADVANCED
,
681 .label
= "password level",
684 .offset
= GLOBAL_VAR(pwordlevel
),
687 .flags
= FLAG_ADVANCED
| FLAG_DEPRECATED
,
690 .label
= "username level",
693 .offset
= GLOBAL_VAR(unamelevel
),
696 .flags
= FLAG_ADVANCED
,
699 .label
= "unix password sync",
702 .offset
= GLOBAL_VAR(bUnixPasswdSync
),
705 .flags
= FLAG_ADVANCED
,
708 .label
= "restrict anonymous",
711 .offset
= GLOBAL_VAR(restrict_anonymous
),
714 .flags
= FLAG_ADVANCED
,
717 .label
= "lanman auth",
720 .offset
= GLOBAL_VAR(bLanmanAuth
),
723 .flags
= FLAG_ADVANCED
,
726 .label
= "ntlm auth",
729 .offset
= GLOBAL_VAR(bNTLMAuth
),
732 .flags
= FLAG_ADVANCED
,
735 .label
= "client NTLMv2 auth",
738 .offset
= GLOBAL_VAR(bClientNTLMv2Auth
),
741 .flags
= FLAG_ADVANCED
,
744 .label
= "client lanman auth",
747 .offset
= GLOBAL_VAR(bClientLanManAuth
),
750 .flags
= FLAG_ADVANCED
,
753 .label
= "client plaintext auth",
756 .offset
= GLOBAL_VAR(bClientPlaintextAuth
),
759 .flags
= FLAG_ADVANCED
,
762 .label
= "client use spnego principal",
765 .offset
= GLOBAL_VAR(client_use_spnego_principal
),
768 .flags
= FLAG_ADVANCED
,
774 .offset
= LOCAL_VAR(szUsername
),
777 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
| FLAG_DEPRECATED
,
783 .offset
= LOCAL_VAR(szUsername
),
792 .offset
= LOCAL_VAR(szUsername
),
798 .label
= "invalid users",
801 .offset
= LOCAL_VAR(szInvalidUsers
),
804 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
807 .label
= "valid users",
810 .offset
= LOCAL_VAR(szValidUsers
),
813 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
816 .label
= "admin users",
819 .offset
= LOCAL_VAR(szAdminUsers
),
822 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
825 .label
= "read list",
828 .offset
= LOCAL_VAR(readlist
),
831 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
834 .label
= "write list",
837 .offset
= LOCAL_VAR(writelist
),
840 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
843 .label
= "force user",
846 .offset
= LOCAL_VAR(force_user
),
849 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
852 .label
= "force group",
855 .offset
= LOCAL_VAR(force_group
),
858 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
864 .offset
= LOCAL_VAR(force_group
),
867 .flags
= FLAG_ADVANCED
,
870 .label
= "read only",
873 .offset
= LOCAL_VAR(bRead_only
),
876 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_SHARE
,
882 .offset
= LOCAL_VAR(bRead_only
),
888 .label
= "writeable",
891 .offset
= LOCAL_VAR(bRead_only
),
900 .offset
= LOCAL_VAR(bRead_only
),
906 .label
= "acl check permissions",
909 .offset
= LOCAL_VAR(bAclCheckPermissions
),
912 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
| FLAG_DEPRECATED
,
915 .label
= "acl group control",
918 .offset
= LOCAL_VAR(bAclGroupControl
),
921 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
924 .label
= "acl map full control",
927 .offset
= LOCAL_VAR(bAclMapFullControl
),
930 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
933 .label
= "create mask",
936 .offset
= LOCAL_VAR(iCreate_mask
),
939 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
942 .label
= "create mode",
945 .offset
= LOCAL_VAR(iCreate_mask
),
951 .label
= "force create mode",
954 .offset
= LOCAL_VAR(iCreate_force_mode
),
957 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
960 .label
= "directory mask",
963 .offset
= LOCAL_VAR(iDir_mask
),
966 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
969 .label
= "directory mode",
972 .offset
= LOCAL_VAR(iDir_mask
),
975 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
978 .label
= "force directory mode",
981 .offset
= LOCAL_VAR(iDir_force_mode
),
984 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
987 .label
= "force unknown acl user",
990 .offset
= LOCAL_VAR(bForceUnknownAclUser
),
993 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
996 .label
= "inherit permissions",
999 .offset
= LOCAL_VAR(bInheritPerms
),
1002 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1005 .label
= "inherit acls",
1008 .offset
= LOCAL_VAR(bInheritACLS
),
1011 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1014 .label
= "inherit owner",
1017 .offset
= LOCAL_VAR(bInheritOwner
),
1020 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1023 .label
= "guest only",
1026 .offset
= LOCAL_VAR(bGuest_only
),
1029 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1032 .label
= "only guest",
1035 .offset
= LOCAL_VAR(bGuest_only
),
1041 .label
= "administrative share",
1044 .offset
= LOCAL_VAR(bAdministrative_share
),
1047 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
1051 .label
= "guest ok",
1054 .offset
= LOCAL_VAR(bGuest_ok
),
1057 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
1063 .offset
= LOCAL_VAR(bGuest_ok
),
1069 .label
= "only user",
1072 .offset
= LOCAL_VAR(bOnlyUser
),
1075 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_DEPRECATED
,
1078 .label
= "hosts allow",
1081 .offset
= LOCAL_VAR(szHostsallow
),
1084 .flags
= FLAG_GLOBAL
| FLAG_BASIC
| FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
1087 .label
= "allow hosts",
1090 .offset
= LOCAL_VAR(szHostsallow
),
1096 .label
= "hosts deny",
1099 .offset
= LOCAL_VAR(szHostsdeny
),
1102 .flags
= FLAG_GLOBAL
| FLAG_BASIC
| FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
1105 .label
= "deny hosts",
1108 .offset
= LOCAL_VAR(szHostsdeny
),
1114 .label
= "preload modules",
1116 .p_class
= P_GLOBAL
,
1117 .offset
= GLOBAL_VAR(szPreloadModules
),
1120 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
1123 .label
= "dedicated keytab file",
1125 .p_class
= P_GLOBAL
,
1126 .offset
= GLOBAL_VAR(szDedicatedKeytabFile
),
1129 .flags
= FLAG_ADVANCED
,
1132 .label
= "kerberos method",
1134 .p_class
= P_GLOBAL
,
1135 .offset
= GLOBAL_VAR(iKerberosMethod
),
1137 .enum_list
= enum_kerberos_method
,
1138 .flags
= FLAG_ADVANCED
,
1141 .label
= "map untrusted to domain",
1143 .p_class
= P_GLOBAL
,
1144 .offset
= GLOBAL_VAR(bMapUntrustedToDomain
),
1147 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
1151 {N_("Logging Options"), P_SEP
, P_SEPARATOR
},
1154 .label
= "log level",
1156 .p_class
= P_GLOBAL
,
1157 .offset
= GLOBAL_VAR(loglevel
),
1158 .special
= handle_debug_list
,
1160 .flags
= FLAG_ADVANCED
,
1163 .label
= "debuglevel",
1165 .p_class
= P_GLOBAL
,
1166 .offset
= GLOBAL_VAR(loglevel
),
1167 .special
= handle_debug_list
,
1174 .p_class
= P_GLOBAL
,
1175 .offset
= GLOBAL_VAR(syslog
),
1178 .flags
= FLAG_ADVANCED
,
1181 .label
= "syslog only",
1183 .p_class
= P_GLOBAL
,
1184 .offset
= GLOBAL_VAR(bSyslogOnly
),
1187 .flags
= FLAG_ADVANCED
,
1190 .label
= "log file",
1192 .p_class
= P_GLOBAL
,
1193 .offset
= GLOBAL_VAR(logfile
),
1194 .special
= handle_logfile
,
1196 .flags
= FLAG_ADVANCED
,
1199 .label
= "max log size",
1201 .p_class
= P_GLOBAL
,
1202 .offset
= GLOBAL_VAR(max_log_size
),
1205 .flags
= FLAG_ADVANCED
,
1208 .label
= "debug timestamp",
1210 .p_class
= P_GLOBAL
,
1211 .offset
= GLOBAL_VAR(bTimestampLogs
),
1214 .flags
= FLAG_ADVANCED
,
1217 .label
= "timestamp logs",
1219 .p_class
= P_GLOBAL
,
1220 .offset
= GLOBAL_VAR(bTimestampLogs
),
1223 .flags
= FLAG_ADVANCED
,
1226 .label
= "debug prefix timestamp",
1228 .p_class
= P_GLOBAL
,
1229 .offset
= GLOBAL_VAR(bDebugPrefixTimestamp
),
1232 .flags
= FLAG_ADVANCED
,
1235 .label
= "debug hires timestamp",
1237 .p_class
= P_GLOBAL
,
1238 .offset
= GLOBAL_VAR(bDebugHiresTimestamp
),
1241 .flags
= FLAG_ADVANCED
,
1244 .label
= "debug pid",
1246 .p_class
= P_GLOBAL
,
1247 .offset
= GLOBAL_VAR(bDebugPid
),
1250 .flags
= FLAG_ADVANCED
,
1253 .label
= "debug uid",
1255 .p_class
= P_GLOBAL
,
1256 .offset
= GLOBAL_VAR(bDebugUid
),
1259 .flags
= FLAG_ADVANCED
,
1262 .label
= "debug class",
1264 .p_class
= P_GLOBAL
,
1265 .offset
= GLOBAL_VAR(bDebugClass
),
1268 .flags
= FLAG_ADVANCED
,
1271 .label
= "enable core files",
1273 .p_class
= P_GLOBAL
,
1274 .offset
= GLOBAL_VAR(bEnableCoreFiles
),
1277 .flags
= FLAG_ADVANCED
,
1280 {N_("Protocol Options"), P_SEP
, P_SEPARATOR
},
1283 .label
= "allocation roundup size",
1286 .offset
= LOCAL_VAR(iallocation_roundup_size
),
1289 .flags
= FLAG_ADVANCED
,
1292 .label
= "aio read size",
1295 .offset
= LOCAL_VAR(iAioReadSize
),
1298 .flags
= FLAG_ADVANCED
,
1301 .label
= "aio write size",
1304 .offset
= LOCAL_VAR(iAioWriteSize
),
1307 .flags
= FLAG_ADVANCED
,
1310 .label
= "aio write behind",
1313 .offset
= LOCAL_VAR(szAioWriteBehind
),
1316 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
1319 .label
= "smb ports",
1321 .p_class
= P_GLOBAL
,
1322 .offset
= GLOBAL_VAR(smb_ports
),
1325 .flags
= FLAG_ADVANCED
,
1328 .label
= "large readwrite",
1330 .p_class
= P_GLOBAL
,
1331 .offset
= GLOBAL_VAR(bLargeReadwrite
),
1334 .flags
= FLAG_ADVANCED
,
1337 .label
= "server max protocol",
1339 .p_class
= P_GLOBAL
,
1340 .offset
= GLOBAL_VAR(srv_maxprotocol
),
1342 .enum_list
= enum_protocol
,
1343 .flags
= FLAG_ADVANCED
,
1346 .label
= "max protocol",
1348 .p_class
= P_GLOBAL
,
1349 .offset
= GLOBAL_VAR(srv_maxprotocol
),
1351 .enum_list
= enum_protocol
,
1352 .flags
= FLAG_ADVANCED
,
1355 .label
= "protocol",
1357 .p_class
= P_GLOBAL
,
1358 .offset
= GLOBAL_VAR(srv_maxprotocol
),
1360 .enum_list
= enum_protocol
,
1361 .flags
= FLAG_ADVANCED
,
1364 .label
= "server min protocol",
1366 .p_class
= P_GLOBAL
,
1367 .offset
= GLOBAL_VAR(srv_minprotocol
),
1369 .enum_list
= enum_protocol
,
1370 .flags
= FLAG_ADVANCED
,
1373 .label
= "min protocol",
1375 .p_class
= P_GLOBAL
,
1376 .offset
= GLOBAL_VAR(srv_minprotocol
),
1378 .enum_list
= enum_protocol
,
1379 .flags
= FLAG_ADVANCED
,
1382 .label
= "client max protocol",
1384 .p_class
= P_GLOBAL
,
1385 .offset
= GLOBAL_VAR(cli_maxprotocol
),
1387 .enum_list
= enum_protocol
,
1388 .flags
= FLAG_ADVANCED
,
1391 .label
= "client min protocol",
1393 .p_class
= P_GLOBAL
,
1394 .offset
= GLOBAL_VAR(cli_minprotocol
),
1396 .enum_list
= enum_protocol
,
1397 .flags
= FLAG_ADVANCED
,
1402 .p_class
= P_GLOBAL
,
1403 .offset
= GLOBAL_VAR(bUnicode
),
1408 .label
= "min receivefile size",
1410 .p_class
= P_GLOBAL
,
1411 .offset
= GLOBAL_VAR(iminreceivefile
),
1414 .flags
= FLAG_ADVANCED
,
1417 .label
= "read raw",
1419 .p_class
= P_GLOBAL
,
1420 .offset
= GLOBAL_VAR(bReadRaw
),
1423 .flags
= FLAG_ADVANCED
,
1426 .label
= "write raw",
1428 .p_class
= P_GLOBAL
,
1429 .offset
= GLOBAL_VAR(bWriteRaw
),
1432 .flags
= FLAG_ADVANCED
,
1435 .label
= "disable netbios",
1437 .p_class
= P_GLOBAL
,
1438 .offset
= GLOBAL_VAR(bDisableNetbios
),
1441 .flags
= FLAG_ADVANCED
,
1444 .label
= "reset on zero vc",
1446 .p_class
= P_GLOBAL
,
1447 .offset
= GLOBAL_VAR(bResetOnZeroVC
),
1450 .flags
= FLAG_ADVANCED
,
1453 .label
= "log writeable files on exit",
1455 .p_class
= P_GLOBAL
,
1456 .offset
= GLOBAL_VAR(bLogWriteableFilesOnExit
),
1459 .flags
= FLAG_ADVANCED
,
1462 .label
= "acl compatibility",
1464 .p_class
= P_GLOBAL
,
1465 .offset
= GLOBAL_VAR(iAclCompat
),
1467 .enum_list
= enum_acl_compat_vals
,
1468 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
1471 .label
= "defer sharing violations",
1473 .p_class
= P_GLOBAL
,
1474 .offset
= GLOBAL_VAR(bDeferSharingViolations
),
1477 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
1480 .label
= "ea support",
1483 .offset
= LOCAL_VAR(bEASupport
),
1486 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
1489 .label
= "nt acl support",
1492 .offset
= LOCAL_VAR(bNTAclSupport
),
1495 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
1498 .label
= "nt pipe support",
1500 .p_class
= P_GLOBAL
,
1501 .offset
= GLOBAL_VAR(bNTPipeSupport
),
1504 .flags
= FLAG_ADVANCED
,
1507 .label
= "nt status support",
1509 .p_class
= P_GLOBAL
,
1510 .offset
= GLOBAL_VAR(bNTStatusSupport
),
1513 .flags
= FLAG_ADVANCED
,
1516 .label
= "profile acls",
1519 .offset
= LOCAL_VAR(bProfileAcls
),
1522 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
1525 .label
= "map acl inherit",
1528 .offset
= LOCAL_VAR(bMap_acl_inherit
),
1531 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
1534 .label
= "afs share",
1537 .offset
= LOCAL_VAR(bAfs_Share
),
1540 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
1545 .p_class
= P_GLOBAL
,
1546 .offset
= GLOBAL_VAR(max_mux
),
1549 .flags
= FLAG_ADVANCED
,
1552 .label
= "max xmit",
1554 .p_class
= P_GLOBAL
,
1555 .offset
= GLOBAL_VAR(max_xmit
),
1558 .flags
= FLAG_ADVANCED
,
1561 .label
= "name resolve order",
1563 .p_class
= P_GLOBAL
,
1564 .offset
= GLOBAL_VAR(szNameResolveOrder
),
1567 .flags
= FLAG_ADVANCED
| FLAG_WIZARD
,
1572 .p_class
= P_GLOBAL
,
1573 .offset
= GLOBAL_VAR(max_ttl
),
1576 .flags
= FLAG_ADVANCED
,
1579 .label
= "max wins ttl",
1581 .p_class
= P_GLOBAL
,
1582 .offset
= GLOBAL_VAR(max_wins_ttl
),
1585 .flags
= FLAG_ADVANCED
,
1588 .label
= "min wins ttl",
1590 .p_class
= P_GLOBAL
,
1591 .offset
= GLOBAL_VAR(min_wins_ttl
),
1594 .flags
= FLAG_ADVANCED
,
1597 .label
= "time server",
1599 .p_class
= P_GLOBAL
,
1600 .offset
= GLOBAL_VAR(bTimeServer
),
1603 .flags
= FLAG_ADVANCED
,
1606 .label
= "unix extensions",
1608 .p_class
= P_GLOBAL
,
1609 .offset
= GLOBAL_VAR(bUnixExtensions
),
1612 .flags
= FLAG_ADVANCED
,
1615 .label
= "use spnego",
1617 .p_class
= P_GLOBAL
,
1618 .offset
= GLOBAL_VAR(bUseSpnego
),
1621 .flags
= FLAG_ADVANCED
| FLAG_DEPRECATED
,
1624 .label
= "client signing",
1626 .p_class
= P_GLOBAL
,
1627 .offset
= GLOBAL_VAR(client_signing
),
1629 .enum_list
= enum_smb_signing_vals
,
1630 .flags
= FLAG_ADVANCED
,
1633 .label
= "server signing",
1635 .p_class
= P_GLOBAL
,
1636 .offset
= GLOBAL_VAR(server_signing
),
1638 .enum_list
= enum_smb_signing_vals
,
1639 .flags
= FLAG_ADVANCED
,
1642 .label
= "smb encrypt",
1645 .offset
= LOCAL_VAR(ismb_encrypt
),
1647 .enum_list
= enum_smb_signing_vals
,
1648 .flags
= FLAG_ADVANCED
,
1651 .label
= "client use spnego",
1653 .p_class
= P_GLOBAL
,
1654 .offset
= GLOBAL_VAR(bClientUseSpnego
),
1657 .flags
= FLAG_ADVANCED
,
1660 .label
= "client ldap sasl wrapping",
1662 .p_class
= P_GLOBAL
,
1663 .offset
= GLOBAL_VAR(client_ldap_sasl_wrapping
),
1665 .enum_list
= enum_ldap_sasl_wrapping
,
1666 .flags
= FLAG_ADVANCED
,
1669 .label
= "enable asu support",
1671 .p_class
= P_GLOBAL
,
1672 .offset
= GLOBAL_VAR(bASUSupport
),
1675 .flags
= FLAG_ADVANCED
,
1678 .label
= "svcctl list",
1680 .p_class
= P_GLOBAL
,
1681 .offset
= GLOBAL_VAR(szServicesList
),
1684 .flags
= FLAG_ADVANCED
,
1687 .label
= "cldap port",
1689 .p_class
= P_GLOBAL
,
1690 .offset
= GLOBAL_VAR(cldap_port
),
1695 .label
= "dgram port",
1697 .p_class
= P_GLOBAL
,
1698 .offset
= GLOBAL_VAR(dgram_port
),
1703 .label
= "nbt port",
1705 .p_class
= P_GLOBAL
,
1706 .offset
= GLOBAL_VAR(nbt_port
),
1711 .label
= "krb5 port",
1713 .p_class
= P_GLOBAL
,
1714 .offset
= GLOBAL_VAR(krb5_port
),
1719 .label
= "kpasswd port",
1721 .p_class
= P_GLOBAL
,
1722 .offset
= GLOBAL_VAR(kpasswd_port
),
1727 .label
= "web port",
1729 .p_class
= P_GLOBAL
,
1730 .offset
= GLOBAL_VAR(web_port
),
1735 .label
= "rpc big endian",
1737 .p_class
= P_GLOBAL
,
1738 .offset
= GLOBAL_VAR(bRpcBigEndian
),
1743 .label
= "durable handles",
1746 .offset
= LOCAL_VAR(bDurableHandles
),
1749 .flags
= FLAG_ADVANCED
,
1752 {N_("Tuning Options"), P_SEP
, P_SEPARATOR
},
1755 .label
= "block size",
1758 .offset
= LOCAL_VAR(iBlock_size
),
1761 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
1764 .label
= "deadtime",
1766 .p_class
= P_GLOBAL
,
1767 .offset
= GLOBAL_VAR(deadtime
),
1770 .flags
= FLAG_ADVANCED
,
1773 .label
= "getwd cache",
1775 .p_class
= P_GLOBAL
,
1776 .offset
= GLOBAL_VAR(getwd_cache
),
1779 .flags
= FLAG_ADVANCED
,
1782 .label
= "keepalive",
1784 .p_class
= P_GLOBAL
,
1785 .offset
= GLOBAL_VAR(iKeepalive
),
1788 .flags
= FLAG_ADVANCED
,
1791 .label
= "change notify",
1794 .offset
= LOCAL_VAR(bChangeNotify
),
1797 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1800 .label
= "directory name cache size",
1803 .offset
= LOCAL_VAR(iDirectoryNameCacheSize
),
1806 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1809 .label
= "kernel change notify",
1812 .offset
= LOCAL_VAR(bKernelChangeNotify
),
1815 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1818 .label
= "lpq cache time",
1820 .p_class
= P_GLOBAL
,
1821 .offset
= GLOBAL_VAR(lpqcachetime
),
1824 .flags
= FLAG_ADVANCED
,
1827 .label
= "max smbd processes",
1829 .p_class
= P_GLOBAL
,
1830 .offset
= GLOBAL_VAR(iMaxSmbdProcesses
),
1833 .flags
= FLAG_ADVANCED
,
1836 .label
= "max connections",
1839 .offset
= LOCAL_VAR(iMaxConnections
),
1842 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1845 .label
= "max disk size",
1847 .p_class
= P_GLOBAL
,
1848 .offset
= GLOBAL_VAR(maxdisksize
),
1851 .flags
= FLAG_ADVANCED
,
1854 .label
= "max open files",
1856 .p_class
= P_GLOBAL
,
1857 .offset
= GLOBAL_VAR(max_open_files
),
1860 .flags
= FLAG_ADVANCED
,
1863 .label
= "min print space",
1866 .offset
= LOCAL_VAR(iMinPrintSpace
),
1869 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
1872 .label
= "socket options",
1874 .p_class
= P_GLOBAL
,
1875 .offset
= GLOBAL_VAR(socket_options
),
1878 .flags
= FLAG_ADVANCED
,
1881 .label
= "strict allocate",
1884 .offset
= LOCAL_VAR(bStrictAllocate
),
1887 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1890 .label
= "strict sync",
1893 .offset
= LOCAL_VAR(bStrictSync
),
1896 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1899 .label
= "sync always",
1902 .offset
= LOCAL_VAR(bSyncAlways
),
1905 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1908 .label
= "use mmap",
1910 .p_class
= P_GLOBAL
,
1911 .offset
= GLOBAL_VAR(bUseMmap
),
1914 .flags
= FLAG_ADVANCED
,
1917 .label
= "use sendfile",
1920 .offset
= LOCAL_VAR(bUseSendfile
),
1923 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1926 .label
= "hostname lookups",
1928 .p_class
= P_GLOBAL
,
1929 .offset
= GLOBAL_VAR(bHostnameLookups
),
1932 .flags
= FLAG_ADVANCED
,
1935 .label
= "write cache size",
1938 .offset
= LOCAL_VAR(iWriteCacheSize
),
1941 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1944 .label
= "name cache timeout",
1946 .p_class
= P_GLOBAL
,
1947 .offset
= GLOBAL_VAR(name_cache_timeout
),
1950 .flags
= FLAG_ADVANCED
,
1953 .label
= "ctdbd socket",
1955 .p_class
= P_GLOBAL
,
1956 .offset
= GLOBAL_VAR(ctdbdSocket
),
1959 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
1962 .label
= "cluster addresses",
1964 .p_class
= P_GLOBAL
,
1965 .offset
= GLOBAL_VAR(szClusterAddresses
),
1968 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
1971 .label
= "clustering",
1973 .p_class
= P_GLOBAL
,
1974 .offset
= GLOBAL_VAR(clustering
),
1977 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
1980 .label
= "ctdb timeout",
1982 .p_class
= P_GLOBAL
,
1983 .offset
= GLOBAL_VAR(ctdb_timeout
),
1986 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
1989 .label
= "ctdb locktime warn threshold",
1991 .p_class
= P_GLOBAL
,
1992 .offset
= GLOBAL_VAR(ctdb_locktime_warn_threshold
),
1995 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
1998 .label
= "smb2 max read",
2000 .p_class
= P_GLOBAL
,
2001 .offset
= GLOBAL_VAR(ismb2_max_read
),
2004 .flags
= FLAG_ADVANCED
,
2007 .label
= "smb2 max write",
2009 .p_class
= P_GLOBAL
,
2010 .offset
= GLOBAL_VAR(ismb2_max_write
),
2013 .flags
= FLAG_ADVANCED
,
2016 .label
= "smb2 max trans",
2018 .p_class
= P_GLOBAL
,
2019 .offset
= GLOBAL_VAR(ismb2_max_trans
),
2022 .flags
= FLAG_ADVANCED
,
2025 .label
= "smb2 max credits",
2027 .p_class
= P_GLOBAL
,
2028 .offset
= GLOBAL_VAR(ismb2_max_credits
),
2031 .flags
= FLAG_ADVANCED
,
2034 {N_("Printing Options"), P_SEP
, P_SEPARATOR
},
2037 .label
= "max reported print jobs",
2040 .offset
= LOCAL_VAR(iMaxReportedPrintJobs
),
2043 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2046 .label
= "max print jobs",
2049 .offset
= LOCAL_VAR(iMaxPrintJobs
),
2052 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2055 .label
= "load printers",
2057 .p_class
= P_GLOBAL
,
2058 .offset
= GLOBAL_VAR(bLoadPrinters
),
2061 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2064 .label
= "printcap cache time",
2066 .p_class
= P_GLOBAL
,
2067 .offset
= GLOBAL_VAR(PrintcapCacheTime
),
2070 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2073 .label
= "printcap name",
2075 .p_class
= P_GLOBAL
,
2076 .offset
= GLOBAL_VAR(szPrintcapname
),
2079 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2082 .label
= "printcap",
2084 .p_class
= P_GLOBAL
,
2085 .offset
= GLOBAL_VAR(szPrintcapname
),
2091 .label
= "printable",
2094 .offset
= LOCAL_VAR(bPrint_ok
),
2097 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2100 .label
= "print notify backchannel",
2103 .offset
= LOCAL_VAR(bPrintNotifyBackchannel
),
2106 .flags
= FLAG_ADVANCED
,
2109 .label
= "print ok",
2112 .offset
= LOCAL_VAR(bPrint_ok
),
2118 .label
= "printing",
2121 .offset
= LOCAL_VAR(iPrinting
),
2122 .special
= handle_printing
,
2123 .enum_list
= enum_printing
,
2124 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2127 .label
= "cups options",
2130 .offset
= LOCAL_VAR(szCupsOptions
),
2133 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2136 .label
= "cups server",
2138 .p_class
= P_GLOBAL
,
2139 .offset
= GLOBAL_VAR(szCupsServer
),
2142 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2145 .label
= "cups encrypt",
2147 .p_class
= P_GLOBAL
,
2148 .offset
= GLOBAL_VAR(CupsEncrypt
),
2150 .enum_list
= enum_bool_auto
,
2151 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2155 .label
= "cups connection timeout",
2157 .p_class
= P_GLOBAL
,
2158 .offset
= GLOBAL_VAR(cups_connection_timeout
),
2161 .flags
= FLAG_ADVANCED
,
2164 .label
= "iprint server",
2166 .p_class
= P_GLOBAL
,
2167 .offset
= GLOBAL_VAR(szIPrintServer
),
2170 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2173 .label
= "print command",
2176 .offset
= LOCAL_VAR(szPrintcommand
),
2179 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2182 .label
= "disable spoolss",
2184 .p_class
= P_GLOBAL
,
2185 .offset
= GLOBAL_VAR(bDisableSpoolss
),
2188 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2191 .label
= "enable spoolss",
2193 .p_class
= P_GLOBAL
,
2194 .offset
= GLOBAL_VAR(bDisableSpoolss
),
2200 .label
= "lpq command",
2203 .offset
= LOCAL_VAR(szLpqcommand
),
2206 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2209 .label
= "lprm command",
2212 .offset
= LOCAL_VAR(szLprmcommand
),
2215 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2218 .label
= "lppause command",
2221 .offset
= LOCAL_VAR(szLppausecommand
),
2224 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2227 .label
= "lpresume command",
2230 .offset
= LOCAL_VAR(szLpresumecommand
),
2233 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2236 .label
= "queuepause command",
2239 .offset
= LOCAL_VAR(szQueuepausecommand
),
2242 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2245 .label
= "queueresume command",
2248 .offset
= LOCAL_VAR(szQueueresumecommand
),
2251 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2254 .label
= "addport command",
2256 .p_class
= P_GLOBAL
,
2257 .offset
= GLOBAL_VAR(szAddPortCommand
),
2260 .flags
= FLAG_ADVANCED
,
2263 .label
= "enumports command",
2265 .p_class
= P_GLOBAL
,
2266 .offset
= GLOBAL_VAR(szEnumPortsCommand
),
2269 .flags
= FLAG_ADVANCED
,
2272 .label
= "addprinter command",
2274 .p_class
= P_GLOBAL
,
2275 .offset
= GLOBAL_VAR(szAddPrinterCommand
),
2278 .flags
= FLAG_ADVANCED
,
2281 .label
= "deleteprinter command",
2283 .p_class
= P_GLOBAL
,
2284 .offset
= GLOBAL_VAR(szDeletePrinterCommand
),
2287 .flags
= FLAG_ADVANCED
,
2290 .label
= "show add printer wizard",
2292 .p_class
= P_GLOBAL
,
2293 .offset
= GLOBAL_VAR(bMsAddPrinterWizard
),
2296 .flags
= FLAG_ADVANCED
,
2299 .label
= "os2 driver map",
2301 .p_class
= P_GLOBAL
,
2302 .offset
= GLOBAL_VAR(szOs2DriverMap
),
2305 .flags
= FLAG_ADVANCED
,
2309 .label
= "printer name",
2312 .offset
= LOCAL_VAR(szPrintername
),
2315 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2321 .offset
= LOCAL_VAR(szPrintername
),
2327 .label
= "use client driver",
2330 .offset
= LOCAL_VAR(bUseClientDriver
),
2333 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2336 .label
= "default devmode",
2339 .offset
= LOCAL_VAR(bDefaultDevmode
),
2342 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2345 .label
= "force printername",
2348 .offset
= LOCAL_VAR(bForcePrintername
),
2351 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2354 .label
= "printjob username",
2357 .offset
= LOCAL_VAR(szPrintjobUsername
),
2360 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2363 {N_("Filename Handling"), P_SEP
, P_SEPARATOR
},
2366 .label
= "mangling method",
2368 .p_class
= P_GLOBAL
,
2369 .offset
= GLOBAL_VAR(szManglingMethod
),
2372 .flags
= FLAG_ADVANCED
,
2375 .label
= "mangle prefix",
2377 .p_class
= P_GLOBAL
,
2378 .offset
= GLOBAL_VAR(mangle_prefix
),
2381 .flags
= FLAG_ADVANCED
,
2385 .label
= "default case",
2388 .offset
= LOCAL_VAR(iDefaultCase
),
2390 .enum_list
= enum_case
,
2391 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
2394 .label
= "case sensitive",
2397 .offset
= LOCAL_VAR(iCaseSensitive
),
2399 .enum_list
= enum_bool_auto
,
2400 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2403 .label
= "casesignames",
2406 .offset
= LOCAL_VAR(iCaseSensitive
),
2408 .enum_list
= enum_bool_auto
,
2409 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
| FLAG_HIDE
,
2412 .label
= "preserve case",
2415 .offset
= LOCAL_VAR(bCasePreserve
),
2418 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2421 .label
= "short preserve case",
2424 .offset
= LOCAL_VAR(bShortCasePreserve
),
2427 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2430 .label
= "mangling char",
2433 .offset
= LOCAL_VAR(magic_char
),
2436 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2439 .label
= "hide dot files",
2442 .offset
= LOCAL_VAR(bHideDotFiles
),
2445 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2448 .label
= "hide special files",
2451 .offset
= LOCAL_VAR(bHideSpecialFiles
),
2454 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2457 .label
= "hide unreadable",
2460 .offset
= LOCAL_VAR(bHideUnReadable
),
2463 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2466 .label
= "hide unwriteable files",
2469 .offset
= LOCAL_VAR(bHideUnWriteableFiles
),
2472 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2475 .label
= "delete veto files",
2478 .offset
= LOCAL_VAR(bDeleteVetoFiles
),
2481 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2484 .label
= "veto files",
2487 .offset
= LOCAL_VAR(szVetoFiles
),
2490 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2493 .label
= "hide files",
2496 .offset
= LOCAL_VAR(szHideFiles
),
2499 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2502 .label
= "veto oplock files",
2505 .offset
= LOCAL_VAR(szVetoOplockFiles
),
2508 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2511 .label
= "map archive",
2514 .offset
= LOCAL_VAR(bMap_archive
),
2517 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2520 .label
= "map hidden",
2523 .offset
= LOCAL_VAR(bMap_hidden
),
2526 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2529 .label
= "map system",
2532 .offset
= LOCAL_VAR(bMap_system
),
2535 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2538 .label
= "map readonly",
2541 .offset
= LOCAL_VAR(iMap_readonly
),
2543 .enum_list
= enum_map_readonly
,
2544 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2547 .label
= "mangled names",
2550 .offset
= LOCAL_VAR(bMangledNames
),
2553 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2556 .label
= "max stat cache size",
2558 .p_class
= P_GLOBAL
,
2559 .offset
= GLOBAL_VAR(iMaxStatCacheSize
),
2562 .flags
= FLAG_ADVANCED
,
2565 .label
= "stat cache",
2567 .p_class
= P_GLOBAL
,
2568 .offset
= GLOBAL_VAR(bStatCache
),
2571 .flags
= FLAG_ADVANCED
,
2574 .label
= "store dos attributes",
2577 .offset
= LOCAL_VAR(bStoreDosAttributes
),
2580 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2583 .label
= "dmapi support",
2586 .offset
= LOCAL_VAR(bDmapiSupport
),
2589 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2593 {N_("Domain Options"), P_SEP
, P_SEPARATOR
},
2596 .label
= "machine password timeout",
2598 .p_class
= P_GLOBAL
,
2599 .offset
= GLOBAL_VAR(machine_password_timeout
),
2602 .flags
= FLAG_ADVANCED
| FLAG_WIZARD
,
2605 {N_("Logon Options"), P_SEP
, P_SEPARATOR
},
2608 .label
= "add user script",
2610 .p_class
= P_GLOBAL
,
2611 .offset
= GLOBAL_VAR(szAddUserScript
),
2614 .flags
= FLAG_ADVANCED
,
2617 .label
= "rename user script",
2619 .p_class
= P_GLOBAL
,
2620 .offset
= GLOBAL_VAR(szRenameUserScript
),
2623 .flags
= FLAG_ADVANCED
,
2626 .label
= "delete user script",
2628 .p_class
= P_GLOBAL
,
2629 .offset
= GLOBAL_VAR(szDelUserScript
),
2632 .flags
= FLAG_ADVANCED
,
2635 .label
= "add group script",
2637 .p_class
= P_GLOBAL
,
2638 .offset
= GLOBAL_VAR(szAddGroupScript
),
2641 .flags
= FLAG_ADVANCED
,
2644 .label
= "delete group script",
2646 .p_class
= P_GLOBAL
,
2647 .offset
= GLOBAL_VAR(szDelGroupScript
),
2650 .flags
= FLAG_ADVANCED
,
2653 .label
= "add user to group script",
2655 .p_class
= P_GLOBAL
,
2656 .offset
= GLOBAL_VAR(szAddUserToGroupScript
),
2659 .flags
= FLAG_ADVANCED
,
2662 .label
= "delete user from group script",
2664 .p_class
= P_GLOBAL
,
2665 .offset
= GLOBAL_VAR(szDelUserFromGroupScript
),
2668 .flags
= FLAG_ADVANCED
,
2671 .label
= "set primary group script",
2673 .p_class
= P_GLOBAL
,
2674 .offset
= GLOBAL_VAR(szSetPrimaryGroupScript
),
2677 .flags
= FLAG_ADVANCED
,
2680 .label
= "add machine script",
2682 .p_class
= P_GLOBAL
,
2683 .offset
= GLOBAL_VAR(szAddMachineScript
),
2686 .flags
= FLAG_ADVANCED
,
2689 .label
= "shutdown script",
2691 .p_class
= P_GLOBAL
,
2692 .offset
= GLOBAL_VAR(szShutdownScript
),
2695 .flags
= FLAG_ADVANCED
,
2698 .label
= "abort shutdown script",
2700 .p_class
= P_GLOBAL
,
2701 .offset
= GLOBAL_VAR(szAbortShutdownScript
),
2704 .flags
= FLAG_ADVANCED
,
2707 .label
= "username map script",
2709 .p_class
= P_GLOBAL
,
2710 .offset
= GLOBAL_VAR(szUsernameMapScript
),
2713 .flags
= FLAG_ADVANCED
,
2716 .label
= "username map cache time",
2718 .p_class
= P_GLOBAL
,
2719 .offset
= GLOBAL_VAR(iUsernameMapCacheTime
),
2722 .flags
= FLAG_ADVANCED
,
2725 .label
= "logon script",
2727 .p_class
= P_GLOBAL
,
2728 .offset
= GLOBAL_VAR(szLogonScript
),
2731 .flags
= FLAG_ADVANCED
,
2734 .label
= "logon path",
2736 .p_class
= P_GLOBAL
,
2737 .offset
= GLOBAL_VAR(szLogonPath
),
2740 .flags
= FLAG_ADVANCED
,
2743 .label
= "logon drive",
2745 .p_class
= P_GLOBAL
,
2746 .offset
= GLOBAL_VAR(szLogonDrive
),
2749 .flags
= FLAG_ADVANCED
,
2752 .label
= "logon home",
2754 .p_class
= P_GLOBAL
,
2755 .offset
= GLOBAL_VAR(szLogonHome
),
2758 .flags
= FLAG_ADVANCED
,
2761 .label
= "domain logons",
2763 .p_class
= P_GLOBAL
,
2764 .offset
= GLOBAL_VAR(bDomainLogons
),
2767 .flags
= FLAG_ADVANCED
,
2771 .label
= "init logon delayed hosts",
2773 .p_class
= P_GLOBAL
,
2774 .offset
= GLOBAL_VAR(szInitLogonDelayedHosts
),
2777 .flags
= FLAG_ADVANCED
,
2781 .label
= "init logon delay",
2783 .p_class
= P_GLOBAL
,
2784 .offset
= GLOBAL_VAR(InitLogonDelay
),
2787 .flags
= FLAG_ADVANCED
,
2791 {N_("Browse Options"), P_SEP
, P_SEPARATOR
},
2794 .label
= "os level",
2796 .p_class
= P_GLOBAL
,
2797 .offset
= GLOBAL_VAR(os_level
),
2800 .flags
= FLAG_BASIC
| FLAG_ADVANCED
,
2803 .label
= "lm announce",
2805 .p_class
= P_GLOBAL
,
2806 .offset
= GLOBAL_VAR(lm_announce
),
2808 .enum_list
= enum_bool_auto
,
2809 .flags
= FLAG_ADVANCED
,
2812 .label
= "lm interval",
2814 .p_class
= P_GLOBAL
,
2815 .offset
= GLOBAL_VAR(lm_interval
),
2818 .flags
= FLAG_ADVANCED
,
2821 .label
= "preferred master",
2823 .p_class
= P_GLOBAL
,
2824 .offset
= GLOBAL_VAR(iPreferredMaster
),
2826 .enum_list
= enum_bool_auto
,
2827 .flags
= FLAG_BASIC
| FLAG_ADVANCED
,
2830 .label
= "prefered master",
2832 .p_class
= P_GLOBAL
,
2833 .offset
= GLOBAL_VAR(iPreferredMaster
),
2835 .enum_list
= enum_bool_auto
,
2839 .label
= "local master",
2841 .p_class
= P_GLOBAL
,
2842 .offset
= GLOBAL_VAR(bLocalMaster
),
2845 .flags
= FLAG_BASIC
| FLAG_ADVANCED
,
2848 .label
= "domain master",
2850 .p_class
= P_GLOBAL
,
2851 .offset
= GLOBAL_VAR(domain_master
),
2853 .enum_list
= enum_bool_auto
,
2854 .flags
= FLAG_BASIC
| FLAG_ADVANCED
,
2857 .label
= "browse list",
2859 .p_class
= P_GLOBAL
,
2860 .offset
= GLOBAL_VAR(bBrowseList
),
2863 .flags
= FLAG_ADVANCED
,
2866 .label
= "browseable",
2869 .offset
= LOCAL_VAR(bBrowseable
),
2872 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
2875 .label
= "browsable",
2878 .offset
= LOCAL_VAR(bBrowseable
),
2884 .label
= "access based share enum",
2887 .offset
= LOCAL_VAR(bAccessBasedShareEnum
),
2890 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_SHARE
2893 .label
= "enhanced browsing",
2895 .p_class
= P_GLOBAL
,
2896 .offset
= GLOBAL_VAR(enhanced_browsing
),
2899 .flags
= FLAG_ADVANCED
,
2902 {N_("WINS Options"), P_SEP
, P_SEPARATOR
},
2905 .label
= "dns proxy",
2907 .p_class
= P_GLOBAL
,
2908 .offset
= GLOBAL_VAR(bWINSdnsProxy
),
2911 .flags
= FLAG_ADVANCED
,
2914 .label
= "wins proxy",
2916 .p_class
= P_GLOBAL
,
2917 .offset
= GLOBAL_VAR(bWINSproxy
),
2920 .flags
= FLAG_ADVANCED
,
2923 .label
= "wins server",
2925 .p_class
= P_GLOBAL
,
2926 .offset
= GLOBAL_VAR(szWINSservers
),
2929 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_WIZARD
,
2932 .label
= "wins support",
2934 .p_class
= P_GLOBAL
,
2935 .offset
= GLOBAL_VAR(bWINSsupport
),
2938 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_WIZARD
,
2941 .label
= "wins hook",
2943 .p_class
= P_GLOBAL
,
2944 .offset
= GLOBAL_VAR(szWINSHook
),
2947 .flags
= FLAG_ADVANCED
,
2950 {N_("Locking Options"), P_SEP
, P_SEPARATOR
},
2953 .label
= "blocking locks",
2956 .offset
= LOCAL_VAR(bBlockingLocks
),
2959 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2962 .label
= "csc policy",
2965 .offset
= LOCAL_VAR(iCSCPolicy
),
2967 .enum_list
= enum_csc_policy
,
2968 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2971 .label
= "fake oplocks",
2974 .offset
= LOCAL_VAR(bFakeOplocks
),
2977 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
2980 .label
= "kernel oplocks",
2983 .offset
= LOCAL_VAR(bKernelOplocks
),
2986 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2989 .label
= "kernel share modes",
2992 .offset
= LOCAL_VAR(bKernelShareModes
),
2995 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3001 .offset
= LOCAL_VAR(bLocking
),
3004 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3007 .label
= "lock spin time",
3009 .p_class
= P_GLOBAL
,
3010 .offset
= GLOBAL_VAR(iLockSpinTime
),
3013 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
3019 .offset
= LOCAL_VAR(bOpLocks
),
3022 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3025 .label
= "level2 oplocks",
3028 .offset
= LOCAL_VAR(bLevel2OpLocks
),
3031 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3034 .label
= "oplock break wait time",
3036 .p_class
= P_GLOBAL
,
3037 .offset
= GLOBAL_VAR(oplock_break_wait_time
),
3040 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
3043 .label
= "oplock contention limit",
3046 .offset
= LOCAL_VAR(iOplockContentionLimit
),
3049 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3052 .label
= "posix locking",
3055 .offset
= LOCAL_VAR(bPosixLocking
),
3058 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3061 .label
= "strict locking",
3064 .offset
= LOCAL_VAR(iStrictLocking
),
3066 .enum_list
= enum_bool_auto
,
3067 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3070 {N_("Ldap Options"), P_SEP
, P_SEPARATOR
},
3073 .label
= "ldap admin dn",
3075 .p_class
= P_GLOBAL
,
3076 .offset
= GLOBAL_VAR(szLdapAdminDn
),
3079 .flags
= FLAG_ADVANCED
,
3082 .label
= "ldap delete dn",
3084 .p_class
= P_GLOBAL
,
3085 .offset
= GLOBAL_VAR(ldap_delete_dn
),
3088 .flags
= FLAG_ADVANCED
,
3091 .label
= "ldap group suffix",
3093 .p_class
= P_GLOBAL
,
3094 .offset
= GLOBAL_VAR(szLdapGroupSuffix
),
3097 .flags
= FLAG_ADVANCED
,
3100 .label
= "ldap idmap suffix",
3102 .p_class
= P_GLOBAL
,
3103 .offset
= GLOBAL_VAR(szLdapIdmapSuffix
),
3106 .flags
= FLAG_ADVANCED
,
3109 .label
= "ldap machine suffix",
3111 .p_class
= P_GLOBAL
,
3112 .offset
= GLOBAL_VAR(szLdapMachineSuffix
),
3115 .flags
= FLAG_ADVANCED
,
3118 .label
= "ldap passwd sync",
3120 .p_class
= P_GLOBAL
,
3121 .offset
= GLOBAL_VAR(ldap_passwd_sync
),
3123 .enum_list
= enum_ldap_passwd_sync
,
3124 .flags
= FLAG_ADVANCED
,
3127 .label
= "ldap password sync",
3129 .p_class
= P_GLOBAL
,
3130 .offset
= GLOBAL_VAR(ldap_passwd_sync
),
3132 .enum_list
= enum_ldap_passwd_sync
,
3136 .label
= "ldap replication sleep",
3138 .p_class
= P_GLOBAL
,
3139 .offset
= GLOBAL_VAR(ldap_replication_sleep
),
3142 .flags
= FLAG_ADVANCED
,
3145 .label
= "ldap suffix",
3147 .p_class
= P_GLOBAL
,
3148 .offset
= GLOBAL_VAR(szLdapSuffix
),
3151 .flags
= FLAG_ADVANCED
,
3154 .label
= "ldap ssl",
3156 .p_class
= P_GLOBAL
,
3157 .offset
= GLOBAL_VAR(ldap_ssl
),
3159 .enum_list
= enum_ldap_ssl
,
3160 .flags
= FLAG_ADVANCED
,
3163 .label
= "ldap ssl ads",
3165 .p_class
= P_GLOBAL
,
3166 .offset
= GLOBAL_VAR(ldap_ssl_ads
),
3169 .flags
= FLAG_ADVANCED
,
3172 .label
= "ldap deref",
3174 .p_class
= P_GLOBAL
,
3175 .offset
= GLOBAL_VAR(ldap_deref
),
3177 .enum_list
= enum_ldap_deref
,
3178 .flags
= FLAG_ADVANCED
,
3181 .label
= "ldap follow referral",
3183 .p_class
= P_GLOBAL
,
3184 .offset
= GLOBAL_VAR(ldap_follow_referral
),
3186 .enum_list
= enum_bool_auto
,
3187 .flags
= FLAG_ADVANCED
,
3190 .label
= "ldap timeout",
3192 .p_class
= P_GLOBAL
,
3193 .offset
= GLOBAL_VAR(ldap_timeout
),
3196 .flags
= FLAG_ADVANCED
,
3199 .label
= "ldap connection timeout",
3201 .p_class
= P_GLOBAL
,
3202 .offset
= GLOBAL_VAR(ldap_connection_timeout
),
3205 .flags
= FLAG_ADVANCED
,
3208 .label
= "ldap page size",
3210 .p_class
= P_GLOBAL
,
3211 .offset
= GLOBAL_VAR(ldap_page_size
),
3214 .flags
= FLAG_ADVANCED
,
3217 .label
= "ldap user suffix",
3219 .p_class
= P_GLOBAL
,
3220 .offset
= GLOBAL_VAR(szLdapUserSuffix
),
3223 .flags
= FLAG_ADVANCED
,
3226 .label
= "ldap debug level",
3228 .p_class
= P_GLOBAL
,
3229 .offset
= GLOBAL_VAR(ldap_debug_level
),
3230 .special
= handle_ldap_debug_level
,
3232 .flags
= FLAG_ADVANCED
,
3235 .label
= "ldap debug threshold",
3237 .p_class
= P_GLOBAL
,
3238 .offset
= GLOBAL_VAR(ldap_debug_threshold
),
3241 .flags
= FLAG_ADVANCED
,
3244 {N_("EventLog Options"), P_SEP
, P_SEPARATOR
},
3247 .label
= "eventlog list",
3249 .p_class
= P_GLOBAL
,
3250 .offset
= GLOBAL_VAR(szEventLogs
),
3253 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
3256 {N_("Miscellaneous Options"), P_SEP
, P_SEPARATOR
},
3259 .label
= "add share command",
3261 .p_class
= P_GLOBAL
,
3262 .offset
= GLOBAL_VAR(szAddShareCommand
),
3265 .flags
= FLAG_ADVANCED
,
3268 .label
= "change share command",
3270 .p_class
= P_GLOBAL
,
3271 .offset
= GLOBAL_VAR(szChangeShareCommand
),
3274 .flags
= FLAG_ADVANCED
,
3277 .label
= "delete share command",
3279 .p_class
= P_GLOBAL
,
3280 .offset
= GLOBAL_VAR(szDeleteShareCommand
),
3283 .flags
= FLAG_ADVANCED
,
3286 .label
= "config file",
3288 .p_class
= P_GLOBAL
,
3289 .offset
= GLOBAL_VAR(szConfigFile
),
3292 .flags
= FLAG_HIDE
|FLAG_META
,
3297 .p_class
= P_GLOBAL
,
3298 .offset
= GLOBAL_VAR(szAutoServices
),
3301 .flags
= FLAG_ADVANCED
,
3304 .label
= "auto services",
3306 .p_class
= P_GLOBAL
,
3307 .offset
= GLOBAL_VAR(szAutoServices
),
3310 .flags
= FLAG_ADVANCED
,
3313 .label
= "lock directory",
3315 .p_class
= P_GLOBAL
,
3316 .offset
= GLOBAL_VAR(szLockDir
),
3319 .flags
= FLAG_ADVANCED
,
3322 .label
= "lock dir",
3324 .p_class
= P_GLOBAL
,
3325 .offset
= GLOBAL_VAR(szLockDir
),
3331 .label
= "state directory",
3333 .p_class
= P_GLOBAL
,
3334 .offset
= GLOBAL_VAR(szStateDir
),
3337 .flags
= FLAG_ADVANCED
,
3340 .label
= "cache directory",
3342 .p_class
= P_GLOBAL
,
3343 .offset
= GLOBAL_VAR(szCacheDir
),
3346 .flags
= FLAG_ADVANCED
,
3349 .label
= "pid directory",
3351 .p_class
= P_GLOBAL
,
3352 .offset
= GLOBAL_VAR(szPidDir
),
3355 .flags
= FLAG_ADVANCED
,
3358 .label
= "ntp signd socket directory",
3360 .p_class
= P_GLOBAL
,
3361 .offset
= GLOBAL_VAR(szNTPSignDSocketDirectory
),
3364 .flags
= FLAG_ADVANCED
,
3369 .label
= "utmp directory",
3371 .p_class
= P_GLOBAL
,
3372 .offset
= GLOBAL_VAR(szUtmpDir
),
3375 .flags
= FLAG_ADVANCED
,
3378 .label
= "wtmp directory",
3380 .p_class
= P_GLOBAL
,
3381 .offset
= GLOBAL_VAR(szWtmpDir
),
3384 .flags
= FLAG_ADVANCED
,
3389 .p_class
= P_GLOBAL
,
3390 .offset
= GLOBAL_VAR(bUtmp
),
3393 .flags
= FLAG_ADVANCED
,
3397 .label
= "default service",
3399 .p_class
= P_GLOBAL
,
3400 .offset
= GLOBAL_VAR(szDefaultService
),
3403 .flags
= FLAG_ADVANCED
,
3408 .p_class
= P_GLOBAL
,
3409 .offset
= GLOBAL_VAR(szDefaultService
),
3412 .flags
= FLAG_ADVANCED
,
3415 .label
= "message command",
3417 .p_class
= P_GLOBAL
,
3418 .offset
= GLOBAL_VAR(szMsgCommand
),
3421 .flags
= FLAG_ADVANCED
,
3424 .label
= "dfree cache time",
3427 .offset
= LOCAL_VAR(iDfreeCacheTime
),
3430 .flags
= FLAG_ADVANCED
,
3433 .label
= "dfree command",
3436 .offset
= LOCAL_VAR(szDfree
),
3439 .flags
= FLAG_ADVANCED
,
3442 .label
= "get quota command",
3444 .p_class
= P_GLOBAL
,
3445 .offset
= GLOBAL_VAR(szGetQuota
),
3448 .flags
= FLAG_ADVANCED
,
3451 .label
= "set quota command",
3453 .p_class
= P_GLOBAL
,
3454 .offset
= GLOBAL_VAR(szSetQuota
),
3457 .flags
= FLAG_ADVANCED
,
3460 .label
= "remote announce",
3462 .p_class
= P_GLOBAL
,
3463 .offset
= GLOBAL_VAR(szRemoteAnnounce
),
3466 .flags
= FLAG_ADVANCED
,
3469 .label
= "remote browse sync",
3471 .p_class
= P_GLOBAL
,
3472 .offset
= GLOBAL_VAR(szRemoteBrowseSync
),
3475 .flags
= FLAG_ADVANCED
,
3478 .label
= "nbt client socket address",
3480 .p_class
= P_GLOBAL
,
3481 .offset
= GLOBAL_VAR(nbt_client_socket_address
),
3484 .flags
= FLAG_ADVANCED
| FLAG_DEPRECATED
,
3487 .label
= "socket address",
3489 .p_class
= P_GLOBAL
,
3490 .offset
= GLOBAL_VAR(nbt_client_socket_address
),
3493 .flags
= FLAG_ADVANCED
| FLAG_DEPRECATED
,
3496 .label
= "nmbd bind explicit broadcast",
3498 .p_class
= P_GLOBAL
,
3499 .offset
= GLOBAL_VAR(bNmbdBindExplicitBroadcast
),
3502 .flags
= FLAG_ADVANCED
,
3505 .label
= "homedir map",
3507 .p_class
= P_GLOBAL
,
3508 .offset
= GLOBAL_VAR(szNISHomeMapName
),
3511 .flags
= FLAG_ADVANCED
,
3514 .label
= "afs username map",
3516 .p_class
= P_GLOBAL
,
3517 .offset
= GLOBAL_VAR(szAfsUsernameMap
),
3520 .flags
= FLAG_ADVANCED
,
3523 .label
= "afs token lifetime",
3525 .p_class
= P_GLOBAL
,
3526 .offset
= GLOBAL_VAR(iAfsTokenLifetime
),
3529 .flags
= FLAG_ADVANCED
,
3532 .label
= "log nt token command",
3534 .p_class
= P_GLOBAL
,
3535 .offset
= GLOBAL_VAR(szLogNtTokenCommand
),
3538 .flags
= FLAG_ADVANCED
,
3541 .label
= "NIS homedir",
3543 .p_class
= P_GLOBAL
,
3544 .offset
= GLOBAL_VAR(bNISHomeMap
),
3547 .flags
= FLAG_ADVANCED
,
3553 .offset
= LOCAL_VAR(valid
),
3562 .offset
= LOCAL_VAR(szCopy
),
3563 .special
= handle_copy
,
3571 .offset
= LOCAL_VAR(szInclude
),
3572 .special
= handle_include
,
3574 .flags
= FLAG_HIDE
|FLAG_META
,
3580 .offset
= LOCAL_VAR(szPreExec
),
3583 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
3589 .offset
= LOCAL_VAR(szPreExec
),
3592 .flags
= FLAG_ADVANCED
,
3595 .label
= "preexec close",
3598 .offset
= LOCAL_VAR(bPreexecClose
),
3601 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3604 .label
= "postexec",
3607 .offset
= LOCAL_VAR(szPostExec
),
3610 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
3613 .label
= "root preexec",
3616 .offset
= LOCAL_VAR(szRootPreExec
),
3619 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
3622 .label
= "root preexec close",
3625 .offset
= LOCAL_VAR(bRootpreexecClose
),
3628 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3631 .label
= "root postexec",
3634 .offset
= LOCAL_VAR(szRootPostExec
),
3637 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
3640 .label
= "available",
3643 .offset
= LOCAL_VAR(bAvailable
),
3646 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
3649 .label
= "registry shares",
3651 .p_class
= P_GLOBAL
,
3652 .offset
= GLOBAL_VAR(bRegistryShares
),
3655 .flags
= FLAG_ADVANCED
,
3658 .label
= "usershare allow guests",
3660 .p_class
= P_GLOBAL
,
3661 .offset
= GLOBAL_VAR(bUsershareAllowGuests
),
3664 .flags
= FLAG_ADVANCED
,
3667 .label
= "usershare max shares",
3669 .p_class
= P_GLOBAL
,
3670 .offset
= GLOBAL_VAR(iUsershareMaxShares
),
3673 .flags
= FLAG_ADVANCED
,
3676 .label
= "usershare owner only",
3678 .p_class
= P_GLOBAL
,
3679 .offset
= GLOBAL_VAR(bUsershareOwnerOnly
),
3682 .flags
= FLAG_ADVANCED
,
3685 .label
= "usershare path",
3687 .p_class
= P_GLOBAL
,
3688 .offset
= GLOBAL_VAR(szUsersharePath
),
3691 .flags
= FLAG_ADVANCED
,
3694 .label
= "usershare prefix allow list",
3696 .p_class
= P_GLOBAL
,
3697 .offset
= GLOBAL_VAR(szUsersharePrefixAllowList
),
3700 .flags
= FLAG_ADVANCED
,
3703 .label
= "usershare prefix deny list",
3705 .p_class
= P_GLOBAL
,
3706 .offset
= GLOBAL_VAR(szUsersharePrefixDenyList
),
3709 .flags
= FLAG_ADVANCED
,
3712 .label
= "usershare template share",
3714 .p_class
= P_GLOBAL
,
3715 .offset
= GLOBAL_VAR(szUsershareTemplateShare
),
3718 .flags
= FLAG_ADVANCED
,
3724 .offset
= LOCAL_VAR(volume
),
3727 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3733 .offset
= LOCAL_VAR(fstype
),
3736 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3739 .label
= "set directory",
3742 .offset
= LOCAL_VAR(bNo_set_dir
),
3745 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3748 .label
= "allow insecure wide links",
3750 .p_class
= P_GLOBAL
,
3751 .offset
= GLOBAL_VAR(bAllowInsecureWidelinks
),
3754 .flags
= FLAG_ADVANCED
,
3757 .label
= "wide links",
3760 .offset
= LOCAL_VAR(bWidelinks
),
3763 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3766 .label
= "follow symlinks",
3769 .offset
= LOCAL_VAR(bSymlinks
),
3772 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3775 .label
= "dont descend",
3778 .offset
= LOCAL_VAR(szDontdescend
),
3781 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3784 .label
= "magic script",
3787 .offset
= LOCAL_VAR(szMagicScript
),
3790 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3793 .label
= "magic output",
3796 .offset
= LOCAL_VAR(szMagicOutput
),
3799 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3802 .label
= "delete readonly",
3805 .offset
= LOCAL_VAR(bDeleteReadonly
),
3808 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3811 .label
= "dos filemode",
3814 .offset
= LOCAL_VAR(bDosFilemode
),
3817 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3820 .label
= "dos filetimes",
3823 .offset
= LOCAL_VAR(bDosFiletimes
),
3826 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3829 .label
= "dos filetime resolution",
3832 .offset
= LOCAL_VAR(bDosFiletimeResolution
),
3835 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3838 .label
= "fake directory create times",
3841 .offset
= LOCAL_VAR(bFakeDirCreateTimes
),
3844 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
3847 .label
= "async smb echo handler",
3849 .p_class
= P_GLOBAL
,
3850 .offset
= GLOBAL_VAR(bAsyncSMBEchoHandler
),
3853 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
3856 .label
= "panic action",
3858 .p_class
= P_GLOBAL
,
3859 .offset
= GLOBAL_VAR(szPanicAction
),
3862 .flags
= FLAG_ADVANCED
,
3865 .label
= "perfcount module",
3867 .p_class
= P_GLOBAL
,
3868 .offset
= GLOBAL_VAR(szSMBPerfcountModule
),
3871 .flags
= FLAG_ADVANCED
,
3874 {N_("VFS module options"), P_SEP
, P_SEPARATOR
},
3877 .label
= "vfs objects",
3880 .offset
= LOCAL_VAR(szVfsObjects
),
3883 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3886 .label
= "vfs object",
3889 .offset
= LOCAL_VAR(szVfsObjects
),
3896 {N_("MSDFS options"), P_SEP
, P_SEPARATOR
},
3899 .label
= "msdfs root",
3902 .offset
= LOCAL_VAR(bMSDfsRoot
),
3905 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3908 .label
= "msdfs proxy",
3911 .offset
= LOCAL_VAR(szMSDfsProxy
),
3914 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3917 .label
= "host msdfs",
3919 .p_class
= P_GLOBAL
,
3920 .offset
= GLOBAL_VAR(bHostMSDfs
),
3923 .flags
= FLAG_ADVANCED
,
3926 {N_("Winbind options"), P_SEP
, P_SEPARATOR
},
3929 .label
= "passdb expand explicit",
3931 .p_class
= P_GLOBAL
,
3932 .offset
= GLOBAL_VAR(bPassdbExpandExplicit
),
3935 .flags
= FLAG_ADVANCED
,
3938 .label
= "idmap backend",
3940 .p_class
= P_GLOBAL
,
3941 .offset
= GLOBAL_VAR(szIdmapBackend
),
3942 .special
= handle_idmap_backend
,
3944 .flags
= FLAG_ADVANCED
| FLAG_DEPRECATED
,
3947 .label
= "idmap cache time",
3949 .p_class
= P_GLOBAL
,
3950 .offset
= GLOBAL_VAR(iIdmapCacheTime
),
3953 .flags
= FLAG_ADVANCED
,
3956 .label
= "idmap negative cache time",
3958 .p_class
= P_GLOBAL
,
3959 .offset
= GLOBAL_VAR(iIdmapNegativeCacheTime
),
3962 .flags
= FLAG_ADVANCED
,
3965 .label
= "idmap uid",
3967 .p_class
= P_GLOBAL
,
3968 .offset
= GLOBAL_VAR(szIdmapUID
),
3969 .special
= handle_idmap_uid
,
3971 .flags
= FLAG_ADVANCED
| FLAG_DEPRECATED
,
3974 .label
= "winbind uid",
3976 .p_class
= P_GLOBAL
,
3977 .offset
= GLOBAL_VAR(szIdmapUID
),
3978 .special
= handle_idmap_uid
,
3983 .label
= "idmap gid",
3985 .p_class
= P_GLOBAL
,
3986 .offset
= GLOBAL_VAR(szIdmapGID
),
3987 .special
= handle_idmap_gid
,
3989 .flags
= FLAG_ADVANCED
| FLAG_DEPRECATED
,
3992 .label
= "winbind gid",
3994 .p_class
= P_GLOBAL
,
3995 .offset
= GLOBAL_VAR(szIdmapGID
),
3996 .special
= handle_idmap_gid
,
4001 .label
= "template homedir",
4003 .p_class
= P_GLOBAL
,
4004 .offset
= GLOBAL_VAR(szTemplateHomedir
),
4007 .flags
= FLAG_ADVANCED
,
4010 .label
= "template shell",
4012 .p_class
= P_GLOBAL
,
4013 .offset
= GLOBAL_VAR(szTemplateShell
),
4016 .flags
= FLAG_ADVANCED
,
4019 .label
= "winbind separator",
4021 .p_class
= P_GLOBAL
,
4022 .offset
= GLOBAL_VAR(szWinbindSeparator
),
4025 .flags
= FLAG_ADVANCED
,
4028 .label
= "winbind cache time",
4030 .p_class
= P_GLOBAL
,
4031 .offset
= GLOBAL_VAR(winbind_cache_time
),
4034 .flags
= FLAG_ADVANCED
,
4037 .label
= "winbind reconnect delay",
4039 .p_class
= P_GLOBAL
,
4040 .offset
= GLOBAL_VAR(winbind_reconnect_delay
),
4043 .flags
= FLAG_ADVANCED
,
4046 .label
= "winbind max clients",
4048 .p_class
= P_GLOBAL
,
4049 .offset
= GLOBAL_VAR(winbind_max_clients
),
4052 .flags
= FLAG_ADVANCED
,
4055 .label
= "winbind enum users",
4057 .p_class
= P_GLOBAL
,
4058 .offset
= GLOBAL_VAR(bWinbindEnumUsers
),
4061 .flags
= FLAG_ADVANCED
,
4064 .label
= "winbind enum groups",
4066 .p_class
= P_GLOBAL
,
4067 .offset
= GLOBAL_VAR(bWinbindEnumGroups
),
4070 .flags
= FLAG_ADVANCED
,
4073 .label
= "winbind use default domain",
4075 .p_class
= P_GLOBAL
,
4076 .offset
= GLOBAL_VAR(bWinbindUseDefaultDomain
),
4079 .flags
= FLAG_ADVANCED
,
4082 .label
= "winbind trusted domains only",
4084 .p_class
= P_GLOBAL
,
4085 .offset
= GLOBAL_VAR(bWinbindTrustedDomainsOnly
),
4088 .flags
= FLAG_ADVANCED
,
4091 .label
= "winbind nested groups",
4093 .p_class
= P_GLOBAL
,
4094 .offset
= GLOBAL_VAR(bWinbindNestedGroups
),
4097 .flags
= FLAG_ADVANCED
,
4100 .label
= "winbind expand groups",
4102 .p_class
= P_GLOBAL
,
4103 .offset
= GLOBAL_VAR(winbind_expand_groups
),
4106 .flags
= FLAG_ADVANCED
,
4109 .label
= "winbind nss info",
4111 .p_class
= P_GLOBAL
,
4112 .offset
= GLOBAL_VAR(szWinbindNssInfo
),
4115 .flags
= FLAG_ADVANCED
,
4118 .label
= "winbind refresh tickets",
4120 .p_class
= P_GLOBAL
,
4121 .offset
= GLOBAL_VAR(bWinbindRefreshTickets
),
4124 .flags
= FLAG_ADVANCED
,
4127 .label
= "winbind offline logon",
4129 .p_class
= P_GLOBAL
,
4130 .offset
= GLOBAL_VAR(bWinbindOfflineLogon
),
4133 .flags
= FLAG_ADVANCED
,
4136 .label
= "winbind normalize names",
4138 .p_class
= P_GLOBAL
,
4139 .offset
= GLOBAL_VAR(bWinbindNormalizeNames
),
4142 .flags
= FLAG_ADVANCED
,
4145 .label
= "winbind rpc only",
4147 .p_class
= P_GLOBAL
,
4148 .offset
= GLOBAL_VAR(bWinbindRpcOnly
),
4151 .flags
= FLAG_ADVANCED
,
4154 .label
= "create krb5 conf",
4156 .p_class
= P_GLOBAL
,
4157 .offset
= GLOBAL_VAR(bCreateKrb5Conf
),
4160 .flags
= FLAG_ADVANCED
,
4163 .label
= "ncalrpc dir",
4165 .p_class
= P_GLOBAL
,
4166 .offset
= GLOBAL_VAR(ncalrpc_dir
),
4169 .flags
= FLAG_ADVANCED
,
4172 .label
= "winbind max domain connections",
4174 .p_class
= P_GLOBAL
,
4175 .offset
= GLOBAL_VAR(winbindMaxDomainConnections
),
4178 .flags
= FLAG_ADVANCED
,
4181 .label
= "winbindd socket directory",
4183 .p_class
= P_GLOBAL
,
4184 .offset
= GLOBAL_VAR(szWinbinddSocketDirectory
),
4187 .flags
= FLAG_ADVANCED
,
4190 .label
= "winbindd privileged socket directory",
4192 .p_class
= P_GLOBAL
,
4193 .offset
= GLOBAL_VAR(szWinbinddPrivilegedSocketDirectory
),
4196 .flags
= FLAG_ADVANCED
,
4199 .label
= "winbind sealed pipes",
4201 .p_class
= P_GLOBAL
,
4202 .offset
= GLOBAL_VAR(bWinbindSealedPipes
),
4205 .flags
= FLAG_ADVANCED
,
4208 {N_("DNS options"), P_SEP
, P_SEPARATOR
},
4210 .label
= "allow dns updates",
4212 .p_class
= P_GLOBAL
,
4213 .offset
= GLOBAL_VAR(allow_dns_updates
),
4215 .enum_list
= enum_dns_update_settings
,
4216 .flags
= FLAG_ADVANCED
,
4219 .label
= "dns forwarder",
4221 .p_class
= P_GLOBAL
,
4222 .offset
= GLOBAL_VAR(dns_forwarder
),
4225 .flags
= FLAG_ADVANCED
,
4228 .label
= "dns update command",
4230 .p_class
= P_GLOBAL
,
4231 .offset
= GLOBAL_VAR(szDNSUpdateCommand
),
4234 .flags
= FLAG_ADVANCED
,
4237 .label
= "nsupdate command",
4239 .p_class
= P_GLOBAL
,
4240 .offset
= GLOBAL_VAR(szNSUpdateCommand
),
4243 .flags
= FLAG_ADVANCED
,
4246 .label
= "rndc command",
4248 .p_class
= P_GLOBAL
,
4249 .offset
= GLOBAL_VAR(szRNDCCommand
),
4252 .flags
= FLAG_ADVANCED
,
4255 .label
= "multicast dns register",
4257 .p_class
= P_GLOBAL
,
4258 .offset
= GLOBAL_VAR(bMulticastDnsRegister
),
4261 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
4264 {N_("AD DC options"), P_SEP
, P_SEPARATOR
},
4267 .label
= "samba kcc command",
4269 .p_class
= P_GLOBAL
,
4270 .offset
= GLOBAL_VAR(szSambaKCCCommand
),
4273 .flags
= FLAG_ADVANCED
,
4276 .label
= "server services",
4278 .p_class
= P_GLOBAL
,
4279 .offset
= GLOBAL_VAR(server_services
),
4284 .label
= "dcerpc endpoint servers",
4286 .p_class
= P_GLOBAL
,
4287 .offset
= GLOBAL_VAR(dcerpc_ep_servers
),
4292 .label
= "spn update command",
4294 .p_class
= P_GLOBAL
,
4295 .offset
= GLOBAL_VAR(szSPNUpdateCommand
),
4298 .flags
= FLAG_ADVANCED
,
4301 .label
= "share backend",
4303 .p_class
= P_GLOBAL
,
4304 .offset
= GLOBAL_VAR(szShareBackend
),
4309 .label
= "ntvfs handler",
4312 .offset
= LOCAL_VAR(ntvfs_handler
),
4317 {N_("TLS options"), P_SEP
, P_SEPARATOR
},
4320 .label
= "tls enabled",
4322 .p_class
= P_GLOBAL
,
4323 .offset
= GLOBAL_VAR(tls_enabled
),
4328 .label
= "tls keyfile",
4330 .p_class
= P_GLOBAL
,
4331 .offset
= GLOBAL_VAR(tls_keyfile
),
4336 .label
= "tls certfile",
4338 .p_class
= P_GLOBAL
,
4339 .offset
= GLOBAL_VAR(tls_certfile
),
4344 .label
= "tls cafile",
4346 .p_class
= P_GLOBAL
,
4347 .offset
= GLOBAL_VAR(tls_cafile
),
4352 .label
= "tls crlfile",
4354 .p_class
= P_GLOBAL
,
4355 .offset
= GLOBAL_VAR(tls_crlfile
),
4360 .label
= "tls dh params file",
4362 .p_class
= P_GLOBAL
,
4363 .offset
= GLOBAL_VAR(tls_dhpfile
),
4368 {NULL
, P_BOOL
, P_NONE
, 0, NULL
, NULL
, 0}