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
, "False"},
117 {DNS_UPDATE_ON
, "True"},
118 {DNS_UPDATE_SIGNED
, "signed"},
123 Do you want session setups at user level security with a invalid
124 password to be rejected or allowed in as guest? WinNT rejects them
125 but it can be a pain as it means "net view" needs to use a password
127 You have 3 choices in the setting of map_to_guest:
129 "Never" means session setups with an invalid password
130 are rejected. This is the default.
132 "Bad User" means session setups with an invalid password
133 are rejected, unless the username does not exist, in which case it
134 is treated as a guest login
136 "Bad Password" means session setups with an invalid password
137 are treated as a guest login
139 Note that map_to_guest only has an effect in user or server
143 static const struct enum_list enum_map_to_guest
[] = {
144 {NEVER_MAP_TO_GUEST
, "Never"},
145 {MAP_TO_GUEST_ON_BAD_USER
, "Bad User"},
146 {MAP_TO_GUEST_ON_BAD_PASSWORD
, "Bad Password"},
147 {MAP_TO_GUEST_ON_BAD_UID
, "Bad Uid"},
151 /* Config backend options */
153 static const struct enum_list enum_config_backend
[] = {
154 {CONFIG_BACKEND_FILE
, "file"},
155 {CONFIG_BACKEND_REGISTRY
, "registry"},
160 /* ADS kerberos ticket verification options */
162 static const struct enum_list enum_kerberos_method
[] = {
163 {KERBEROS_VERIFY_SECRETS
, "default"},
164 {KERBEROS_VERIFY_SECRETS
, "secrets only"},
165 {KERBEROS_VERIFY_SYSTEM_KEYTAB
, "system keytab"},
166 {KERBEROS_VERIFY_DEDICATED_KEYTAB
, "dedicated keytab"},
167 {KERBEROS_VERIFY_SECRETS_AND_KEYTAB
, "secrets and keytab"},
172 /* ACL compatibility options. */
173 static const struct enum_list enum_acl_compat_vals
[] = {
174 { ACL_COMPAT_AUTO
, "auto" },
175 { ACL_COMPAT_WINNT
, "winnt" },
176 { ACL_COMPAT_WIN2K
, "win2k" },
181 static const struct enum_list enum_printing
[] = {
182 {PRINT_SYSV
, "sysv"},
184 {PRINT_HPUX
, "hpux"},
188 {PRINT_LPRNG
, "lprng"},
189 {PRINT_CUPS
, "cups"},
190 {PRINT_IPRINT
, "iprint"},
192 {PRINT_LPROS2
, "os2"},
193 #if defined(DEVELOPER) || defined(ENABLE_SELFTEST)
194 {PRINT_TEST
, "test"},
196 #endif /* DEVELOPER */
200 static const struct enum_list enum_ldap_sasl_wrapping
[] = {
202 {ADS_AUTH_SASL_SIGN
, "sign"},
203 {ADS_AUTH_SASL_SEAL
, "seal"},
207 static const struct enum_list enum_ldap_ssl
[] = {
208 {LDAP_SSL_OFF
, "no"},
209 {LDAP_SSL_OFF
, "off"},
210 {LDAP_SSL_START_TLS
, "start tls"},
211 {LDAP_SSL_START_TLS
, "start_tls"},
215 /* LDAP Dereferencing Alias types */
216 #define SAMBA_LDAP_DEREF_NEVER 0
217 #define SAMBA_LDAP_DEREF_SEARCHING 1
218 #define SAMBA_LDAP_DEREF_FINDING 2
219 #define SAMBA_LDAP_DEREF_ALWAYS 3
221 static const struct enum_list enum_ldap_deref
[] = {
222 {SAMBA_LDAP_DEREF_NEVER
, "never"},
223 {SAMBA_LDAP_DEREF_SEARCHING
, "searching"},
224 {SAMBA_LDAP_DEREF_FINDING
, "finding"},
225 {SAMBA_LDAP_DEREF_ALWAYS
, "always"},
229 static const struct enum_list enum_ldap_passwd_sync
[] = {
230 {LDAP_PASSWD_SYNC_OFF
, "no"},
231 {LDAP_PASSWD_SYNC_OFF
, "off"},
232 {LDAP_PASSWD_SYNC_ON
, "yes"},
233 {LDAP_PASSWD_SYNC_ON
, "on"},
234 {LDAP_PASSWD_SYNC_ONLY
, "only"},
238 static const struct enum_list enum_map_readonly
[] = {
239 {MAP_READONLY_NO
, "no"},
240 {MAP_READONLY_NO
, "false"},
241 {MAP_READONLY_NO
, "0"},
242 {MAP_READONLY_YES
, "yes"},
243 {MAP_READONLY_YES
, "true"},
244 {MAP_READONLY_YES
, "1"},
245 {MAP_READONLY_PERMISSIONS
, "permissions"},
246 {MAP_READONLY_PERMISSIONS
, "perms"},
250 static const struct enum_list enum_case
[] = {
251 {CASE_LOWER
, "lower"},
252 {CASE_UPPER
, "upper"},
257 /* Note: We do not initialise the defaults union - it is not allowed in ANSI C
259 * The FLAG_HIDE is explicit. Parameters set this way do NOT appear in any edit
260 * screen in SWAT. This is used to exclude parameters as well as to squash all
261 * parameters that have been duplicated by pseudonyms.
263 * NOTE: To display a parameter in BASIC view set FLAG_BASIC
264 * Any parameter that does NOT have FLAG_ADVANCED will not disply at all
265 * Set FLAG_SHARE and FLAG_PRINT to specifically display parameters in
268 * NOTE2: Handling of duplicated (synonym) parameters:
269 * Only the first occurance of a parameter should be enabled by FLAG_BASIC
270 * and/or FLAG_ADVANCED. All duplicates following the first mention should be
271 * set to FLAG_HIDE. ie: Make you must place the parameter that has the preferred
272 * name first, and all synonyms must follow it with the FLAG_HIDE attribute.
275 #define GLOBAL_VAR(name) offsetof(struct loadparm_global, name)
276 #define LOCAL_VAR(name) offsetof(struct loadparm_service, name)
279 static struct parm_struct parm_table
[] = {
280 {N_("Base Options"), P_SEP
, P_SEPARATOR
},
283 .label
= "dos charset",
286 .offset
= GLOBAL_VAR(dos_charset
),
287 .special
= handle_dos_charset
,
289 .flags
= FLAG_ADVANCED
292 .label
= "unix charset",
295 .offset
= GLOBAL_VAR(unix_charset
),
296 .special
= handle_charset
,
298 .flags
= FLAG_ADVANCED
304 .offset
= LOCAL_VAR(comment
),
307 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
313 .offset
= LOCAL_VAR(szPath
),
316 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
319 .label
= "directory",
322 .offset
= LOCAL_VAR(szPath
),
328 .label
= "workgroup",
331 .offset
= GLOBAL_VAR(szWorkgroup
),
334 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_WIZARD
,
340 .offset
= GLOBAL_VAR(szRealm
),
341 .special
= handle_realm
,
343 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_WIZARD
,
346 .label
= "netbios name",
349 .offset
= GLOBAL_VAR(szNetbiosName
),
352 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_WIZARD
,
355 .label
= "netbios aliases",
358 .offset
= GLOBAL_VAR(szNetbiosAliases
),
359 .special
= handle_netbios_aliases
,
361 .flags
= FLAG_ADVANCED
,
364 .label
= "netbios scope",
367 .offset
= GLOBAL_VAR(szNetbiosScope
),
370 .flags
= FLAG_ADVANCED
,
373 .label
= "server string",
376 .offset
= GLOBAL_VAR(szServerString
),
379 .flags
= FLAG_BASIC
| FLAG_ADVANCED
,
382 .label
= "interfaces",
385 .offset
= GLOBAL_VAR(szInterfaces
),
388 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_WIZARD
,
391 .label
= "bind interfaces only",
394 .offset
= GLOBAL_VAR(bBindInterfacesOnly
),
397 .flags
= FLAG_ADVANCED
| FLAG_WIZARD
,
400 .label
= "config backend",
403 .offset
= GLOBAL_VAR(ConfigBackend
),
405 .enum_list
= enum_config_backend
,
406 .flags
= FLAG_HIDE
|FLAG_ADVANCED
|FLAG_META
,
409 .label
= "server role",
412 .offset
= GLOBAL_VAR(server_role
),
414 .enum_list
= enum_server_role
,
415 .flags
= FLAG_BASIC
| FLAG_ADVANCED
,
418 {N_("Security Options"), P_SEP
, P_SEPARATOR
},
424 .offset
= GLOBAL_VAR(security
),
426 .enum_list
= enum_security
,
427 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_WIZARD
,
430 .label
= "auth methods",
433 .offset
= GLOBAL_VAR(AuthMethods
),
436 .flags
= FLAG_ADVANCED
,
439 .label
= "encrypt passwords",
442 .offset
= GLOBAL_VAR(bEncryptPasswords
),
445 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_WIZARD
,
448 .label
= "client schannel",
451 .offset
= GLOBAL_VAR(clientSchannel
),
453 .enum_list
= enum_bool_auto
,
454 .flags
= FLAG_BASIC
| FLAG_ADVANCED
,
457 .label
= "server schannel",
460 .offset
= GLOBAL_VAR(serverSchannel
),
462 .enum_list
= enum_bool_auto
,
463 .flags
= FLAG_BASIC
| FLAG_ADVANCED
,
466 .label
= "allow trusted domains",
469 .offset
= GLOBAL_VAR(bAllowTrustedDomains
),
472 .flags
= FLAG_ADVANCED
,
475 .label
= "map to guest",
478 .offset
= GLOBAL_VAR(map_to_guest
),
480 .enum_list
= enum_map_to_guest
,
481 .flags
= FLAG_ADVANCED
,
484 .label
= "null passwords",
487 .offset
= GLOBAL_VAR(bNullPasswords
),
490 .flags
= FLAG_ADVANCED
| FLAG_DEPRECATED
,
493 .label
= "obey pam restrictions",
496 .offset
= GLOBAL_VAR(bObeyPamRestrictions
),
499 .flags
= FLAG_ADVANCED
,
502 .label
= "password server",
505 .offset
= GLOBAL_VAR(szPasswordServer
),
508 .flags
= FLAG_ADVANCED
| FLAG_WIZARD
,
511 .label
= "smb passwd file",
514 .offset
= GLOBAL_VAR(szSMBPasswdFile
),
517 .flags
= FLAG_ADVANCED
,
520 .label
= "private dir",
523 .offset
= GLOBAL_VAR(szPrivateDir
),
526 .flags
= FLAG_ADVANCED
,
529 .label
= "private directory",
532 .offset
= GLOBAL_VAR(szPrivateDir
),
538 .label
= "passdb backend",
541 .offset
= GLOBAL_VAR(passdb_backend
),
544 .flags
= FLAG_ADVANCED
| FLAG_WIZARD
,
547 .label
= "algorithmic rid base",
550 .offset
= GLOBAL_VAR(AlgorithmicRidBase
),
553 .flags
= FLAG_ADVANCED
,
556 .label
= "root directory",
559 .offset
= GLOBAL_VAR(szRootdir
),
562 .flags
= FLAG_ADVANCED
,
568 .offset
= GLOBAL_VAR(szRootdir
),
577 .offset
= GLOBAL_VAR(szRootdir
),
583 .label
= "guest account",
586 .offset
= GLOBAL_VAR(szGuestaccount
),
589 .flags
= FLAG_BASIC
| FLAG_ADVANCED
,
592 .label
= "enable privileges",
595 .offset
= GLOBAL_VAR(bEnablePrivileges
),
598 .flags
= FLAG_ADVANCED
| FLAG_DEPRECATED
,
602 .label
= "pam password change",
605 .offset
= GLOBAL_VAR(bPamPasswordChange
),
608 .flags
= FLAG_ADVANCED
,
611 .label
= "passwd program",
614 .offset
= GLOBAL_VAR(szPasswdProgram
),
617 .flags
= FLAG_ADVANCED
,
620 .label
= "passwd chat",
623 .offset
= GLOBAL_VAR(szPasswdChat
),
626 .flags
= FLAG_ADVANCED
,
629 .label
= "passwd chat debug",
632 .offset
= GLOBAL_VAR(bPasswdChatDebug
),
635 .flags
= FLAG_ADVANCED
,
638 .label
= "passwd chat timeout",
641 .offset
= GLOBAL_VAR(iPasswdChatTimeout
),
644 .flags
= FLAG_ADVANCED
,
647 .label
= "check password script",
650 .offset
= GLOBAL_VAR(szCheckPasswordScript
),
653 .flags
= FLAG_ADVANCED
,
656 .label
= "username map",
659 .offset
= GLOBAL_VAR(szUsernameMap
),
662 .flags
= FLAG_ADVANCED
,
665 .label
= "password level",
668 .offset
= GLOBAL_VAR(pwordlevel
),
671 .flags
= FLAG_ADVANCED
| FLAG_DEPRECATED
,
674 .label
= "username level",
677 .offset
= GLOBAL_VAR(unamelevel
),
680 .flags
= FLAG_ADVANCED
,
683 .label
= "unix password sync",
686 .offset
= GLOBAL_VAR(bUnixPasswdSync
),
689 .flags
= FLAG_ADVANCED
,
692 .label
= "restrict anonymous",
695 .offset
= GLOBAL_VAR(restrict_anonymous
),
698 .flags
= FLAG_ADVANCED
,
701 .label
= "lanman auth",
704 .offset
= GLOBAL_VAR(bLanmanAuth
),
707 .flags
= FLAG_ADVANCED
,
710 .label
= "ntlm auth",
713 .offset
= GLOBAL_VAR(bNTLMAuth
),
716 .flags
= FLAG_ADVANCED
,
719 .label
= "client NTLMv2 auth",
722 .offset
= GLOBAL_VAR(bClientNTLMv2Auth
),
725 .flags
= FLAG_ADVANCED
,
728 .label
= "client lanman auth",
731 .offset
= GLOBAL_VAR(bClientLanManAuth
),
734 .flags
= FLAG_ADVANCED
,
737 .label
= "client plaintext auth",
740 .offset
= GLOBAL_VAR(bClientPlaintextAuth
),
743 .flags
= FLAG_ADVANCED
,
746 .label
= "client use spnego principal",
749 .offset
= GLOBAL_VAR(client_use_spnego_principal
),
752 .flags
= FLAG_ADVANCED
,
758 .offset
= LOCAL_VAR(szUsername
),
761 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
| FLAG_DEPRECATED
,
767 .offset
= LOCAL_VAR(szUsername
),
776 .offset
= LOCAL_VAR(szUsername
),
782 .label
= "invalid users",
785 .offset
= LOCAL_VAR(szInvalidUsers
),
788 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
791 .label
= "valid users",
794 .offset
= LOCAL_VAR(szValidUsers
),
797 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
800 .label
= "admin users",
803 .offset
= LOCAL_VAR(szAdminUsers
),
806 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
809 .label
= "read list",
812 .offset
= LOCAL_VAR(readlist
),
815 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
818 .label
= "write list",
821 .offset
= LOCAL_VAR(writelist
),
824 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
827 .label
= "force user",
830 .offset
= LOCAL_VAR(force_user
),
833 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
836 .label
= "force group",
839 .offset
= LOCAL_VAR(force_group
),
842 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
848 .offset
= LOCAL_VAR(force_group
),
851 .flags
= FLAG_ADVANCED
,
854 .label
= "read only",
857 .offset
= LOCAL_VAR(bRead_only
),
860 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_SHARE
,
866 .offset
= LOCAL_VAR(bRead_only
),
872 .label
= "writeable",
875 .offset
= LOCAL_VAR(bRead_only
),
884 .offset
= LOCAL_VAR(bRead_only
),
890 .label
= "acl check permissions",
893 .offset
= LOCAL_VAR(bAclCheckPermissions
),
896 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
| FLAG_DEPRECATED
,
899 .label
= "acl group control",
902 .offset
= LOCAL_VAR(bAclGroupControl
),
905 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
908 .label
= "acl map full control",
911 .offset
= LOCAL_VAR(bAclMapFullControl
),
914 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
917 .label
= "create mask",
920 .offset
= LOCAL_VAR(iCreate_mask
),
923 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
926 .label
= "create mode",
929 .offset
= LOCAL_VAR(iCreate_mask
),
935 .label
= "force create mode",
938 .offset
= LOCAL_VAR(iCreate_force_mode
),
941 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
944 .label
= "security mask",
947 .offset
= LOCAL_VAR(iSecurity_mask
),
950 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
953 .label
= "force security mode",
956 .offset
= LOCAL_VAR(iSecurity_force_mode
),
959 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
962 .label
= "directory mask",
965 .offset
= LOCAL_VAR(iDir_mask
),
968 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
971 .label
= "directory mode",
974 .offset
= LOCAL_VAR(iDir_mask
),
977 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
980 .label
= "force directory mode",
983 .offset
= LOCAL_VAR(iDir_force_mode
),
986 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
989 .label
= "directory security mask",
992 .offset
= LOCAL_VAR(iDir_Security_mask
),
995 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
998 .label
= "force directory security mode",
1001 .offset
= LOCAL_VAR(iDir_Security_force_mode
),
1004 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
1007 .label
= "force unknown acl user",
1010 .offset
= LOCAL_VAR(bForceUnknownAclUser
),
1013 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
1016 .label
= "inherit permissions",
1019 .offset
= LOCAL_VAR(bInheritPerms
),
1022 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1025 .label
= "inherit acls",
1028 .offset
= LOCAL_VAR(bInheritACLS
),
1031 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1034 .label
= "inherit owner",
1037 .offset
= LOCAL_VAR(bInheritOwner
),
1040 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1043 .label
= "guest only",
1046 .offset
= LOCAL_VAR(bGuest_only
),
1049 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1052 .label
= "only guest",
1055 .offset
= LOCAL_VAR(bGuest_only
),
1061 .label
= "administrative share",
1064 .offset
= LOCAL_VAR(bAdministrative_share
),
1067 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
1071 .label
= "guest ok",
1074 .offset
= LOCAL_VAR(bGuest_ok
),
1077 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
1083 .offset
= LOCAL_VAR(bGuest_ok
),
1089 .label
= "only user",
1092 .offset
= LOCAL_VAR(bOnlyUser
),
1095 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_DEPRECATED
,
1098 .label
= "hosts allow",
1101 .offset
= LOCAL_VAR(szHostsallow
),
1104 .flags
= FLAG_GLOBAL
| FLAG_BASIC
| FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
1107 .label
= "allow hosts",
1110 .offset
= LOCAL_VAR(szHostsallow
),
1116 .label
= "hosts deny",
1119 .offset
= LOCAL_VAR(szHostsdeny
),
1122 .flags
= FLAG_GLOBAL
| FLAG_BASIC
| FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
1125 .label
= "deny hosts",
1128 .offset
= LOCAL_VAR(szHostsdeny
),
1134 .label
= "preload modules",
1136 .p_class
= P_GLOBAL
,
1137 .offset
= GLOBAL_VAR(szPreloadModules
),
1140 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
1143 .label
= "dedicated keytab file",
1145 .p_class
= P_GLOBAL
,
1146 .offset
= GLOBAL_VAR(szDedicatedKeytabFile
),
1149 .flags
= FLAG_ADVANCED
,
1152 .label
= "kerberos method",
1154 .p_class
= P_GLOBAL
,
1155 .offset
= GLOBAL_VAR(iKerberosMethod
),
1157 .enum_list
= enum_kerberos_method
,
1158 .flags
= FLAG_ADVANCED
,
1161 .label
= "map untrusted to domain",
1163 .p_class
= P_GLOBAL
,
1164 .offset
= GLOBAL_VAR(bMapUntrustedToDomain
),
1167 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
1171 {N_("Logging Options"), P_SEP
, P_SEPARATOR
},
1174 .label
= "log level",
1176 .p_class
= P_GLOBAL
,
1177 .offset
= GLOBAL_VAR(loglevel
),
1178 .special
= handle_debug_list
,
1180 .flags
= FLAG_ADVANCED
,
1183 .label
= "debuglevel",
1185 .p_class
= P_GLOBAL
,
1186 .offset
= GLOBAL_VAR(loglevel
),
1187 .special
= handle_debug_list
,
1194 .p_class
= P_GLOBAL
,
1195 .offset
= GLOBAL_VAR(syslog
),
1198 .flags
= FLAG_ADVANCED
,
1201 .label
= "syslog only",
1203 .p_class
= P_GLOBAL
,
1204 .offset
= GLOBAL_VAR(bSyslogOnly
),
1207 .flags
= FLAG_ADVANCED
,
1210 .label
= "log file",
1212 .p_class
= P_GLOBAL
,
1213 .offset
= GLOBAL_VAR(logfile
),
1214 .special
= handle_logfile
,
1216 .flags
= FLAG_ADVANCED
,
1219 .label
= "max log size",
1221 .p_class
= P_GLOBAL
,
1222 .offset
= GLOBAL_VAR(max_log_size
),
1225 .flags
= FLAG_ADVANCED
,
1228 .label
= "debug timestamp",
1230 .p_class
= P_GLOBAL
,
1231 .offset
= GLOBAL_VAR(bTimestampLogs
),
1234 .flags
= FLAG_ADVANCED
,
1237 .label
= "timestamp logs",
1239 .p_class
= P_GLOBAL
,
1240 .offset
= GLOBAL_VAR(bTimestampLogs
),
1243 .flags
= FLAG_ADVANCED
,
1246 .label
= "debug prefix timestamp",
1248 .p_class
= P_GLOBAL
,
1249 .offset
= GLOBAL_VAR(bDebugPrefixTimestamp
),
1252 .flags
= FLAG_ADVANCED
,
1255 .label
= "debug hires timestamp",
1257 .p_class
= P_GLOBAL
,
1258 .offset
= GLOBAL_VAR(bDebugHiresTimestamp
),
1261 .flags
= FLAG_ADVANCED
,
1264 .label
= "debug pid",
1266 .p_class
= P_GLOBAL
,
1267 .offset
= GLOBAL_VAR(bDebugPid
),
1270 .flags
= FLAG_ADVANCED
,
1273 .label
= "debug uid",
1275 .p_class
= P_GLOBAL
,
1276 .offset
= GLOBAL_VAR(bDebugUid
),
1279 .flags
= FLAG_ADVANCED
,
1282 .label
= "debug class",
1284 .p_class
= P_GLOBAL
,
1285 .offset
= GLOBAL_VAR(bDebugClass
),
1288 .flags
= FLAG_ADVANCED
,
1291 .label
= "enable core files",
1293 .p_class
= P_GLOBAL
,
1294 .offset
= GLOBAL_VAR(bEnableCoreFiles
),
1297 .flags
= FLAG_ADVANCED
,
1300 {N_("Protocol Options"), P_SEP
, P_SEPARATOR
},
1303 .label
= "allocation roundup size",
1306 .offset
= LOCAL_VAR(iallocation_roundup_size
),
1309 .flags
= FLAG_ADVANCED
,
1312 .label
= "aio read size",
1315 .offset
= LOCAL_VAR(iAioReadSize
),
1318 .flags
= FLAG_ADVANCED
,
1321 .label
= "aio write size",
1324 .offset
= LOCAL_VAR(iAioWriteSize
),
1327 .flags
= FLAG_ADVANCED
,
1330 .label
= "aio write behind",
1333 .offset
= LOCAL_VAR(szAioWriteBehind
),
1336 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
1339 .label
= "smb ports",
1341 .p_class
= P_GLOBAL
,
1342 .offset
= GLOBAL_VAR(smb_ports
),
1345 .flags
= FLAG_ADVANCED
,
1348 .label
= "large readwrite",
1350 .p_class
= P_GLOBAL
,
1351 .offset
= GLOBAL_VAR(bLargeReadwrite
),
1354 .flags
= FLAG_ADVANCED
,
1357 .label
= "server max protocol",
1359 .p_class
= P_GLOBAL
,
1360 .offset
= GLOBAL_VAR(srv_maxprotocol
),
1362 .enum_list
= enum_protocol
,
1363 .flags
= FLAG_ADVANCED
,
1366 .label
= "max protocol",
1368 .p_class
= P_GLOBAL
,
1369 .offset
= GLOBAL_VAR(srv_maxprotocol
),
1371 .enum_list
= enum_protocol
,
1372 .flags
= FLAG_ADVANCED
,
1375 .label
= "protocol",
1377 .p_class
= P_GLOBAL
,
1378 .offset
= GLOBAL_VAR(srv_maxprotocol
),
1380 .enum_list
= enum_protocol
,
1381 .flags
= FLAG_ADVANCED
,
1384 .label
= "server min protocol",
1386 .p_class
= P_GLOBAL
,
1387 .offset
= GLOBAL_VAR(srv_minprotocol
),
1389 .enum_list
= enum_protocol
,
1390 .flags
= FLAG_ADVANCED
,
1393 .label
= "min protocol",
1395 .p_class
= P_GLOBAL
,
1396 .offset
= GLOBAL_VAR(srv_minprotocol
),
1398 .enum_list
= enum_protocol
,
1399 .flags
= FLAG_ADVANCED
,
1402 .label
= "client max protocol",
1404 .p_class
= P_GLOBAL
,
1405 .offset
= GLOBAL_VAR(cli_maxprotocol
),
1407 .enum_list
= enum_protocol
,
1408 .flags
= FLAG_ADVANCED
,
1411 .label
= "client min protocol",
1413 .p_class
= P_GLOBAL
,
1414 .offset
= GLOBAL_VAR(cli_minprotocol
),
1416 .enum_list
= enum_protocol
,
1417 .flags
= FLAG_ADVANCED
,
1422 .p_class
= P_GLOBAL
,
1423 .offset
= GLOBAL_VAR(bUnicode
),
1428 .label
= "min receivefile size",
1430 .p_class
= P_GLOBAL
,
1431 .offset
= GLOBAL_VAR(iminreceivefile
),
1434 .flags
= FLAG_ADVANCED
,
1437 .label
= "read raw",
1439 .p_class
= P_GLOBAL
,
1440 .offset
= GLOBAL_VAR(bReadRaw
),
1443 .flags
= FLAG_ADVANCED
,
1446 .label
= "write raw",
1448 .p_class
= P_GLOBAL
,
1449 .offset
= GLOBAL_VAR(bWriteRaw
),
1452 .flags
= FLAG_ADVANCED
,
1455 .label
= "disable netbios",
1457 .p_class
= P_GLOBAL
,
1458 .offset
= GLOBAL_VAR(bDisableNetbios
),
1461 .flags
= FLAG_ADVANCED
,
1464 .label
= "reset on zero vc",
1466 .p_class
= P_GLOBAL
,
1467 .offset
= GLOBAL_VAR(bResetOnZeroVC
),
1470 .flags
= FLAG_ADVANCED
,
1473 .label
= "log writeable files on exit",
1475 .p_class
= P_GLOBAL
,
1476 .offset
= GLOBAL_VAR(bLogWriteableFilesOnExit
),
1479 .flags
= FLAG_ADVANCED
,
1482 .label
= "acl compatibility",
1484 .p_class
= P_GLOBAL
,
1485 .offset
= GLOBAL_VAR(iAclCompat
),
1487 .enum_list
= enum_acl_compat_vals
,
1488 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
1491 .label
= "defer sharing violations",
1493 .p_class
= P_GLOBAL
,
1494 .offset
= GLOBAL_VAR(bDeferSharingViolations
),
1497 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
1500 .label
= "ea support",
1503 .offset
= LOCAL_VAR(bEASupport
),
1506 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
1509 .label
= "nt acl support",
1512 .offset
= LOCAL_VAR(bNTAclSupport
),
1515 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
1518 .label
= "nt pipe support",
1520 .p_class
= P_GLOBAL
,
1521 .offset
= GLOBAL_VAR(bNTPipeSupport
),
1524 .flags
= FLAG_ADVANCED
,
1527 .label
= "nt status support",
1529 .p_class
= P_GLOBAL
,
1530 .offset
= GLOBAL_VAR(bNTStatusSupport
),
1533 .flags
= FLAG_ADVANCED
,
1536 .label
= "profile acls",
1539 .offset
= LOCAL_VAR(bProfileAcls
),
1542 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
1545 .label
= "map acl inherit",
1548 .offset
= LOCAL_VAR(bMap_acl_inherit
),
1551 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
1554 .label
= "afs share",
1557 .offset
= LOCAL_VAR(bAfs_Share
),
1560 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
1565 .p_class
= P_GLOBAL
,
1566 .offset
= GLOBAL_VAR(max_mux
),
1569 .flags
= FLAG_ADVANCED
,
1572 .label
= "max xmit",
1574 .p_class
= P_GLOBAL
,
1575 .offset
= GLOBAL_VAR(max_xmit
),
1578 .flags
= FLAG_ADVANCED
,
1581 .label
= "name resolve order",
1583 .p_class
= P_GLOBAL
,
1584 .offset
= GLOBAL_VAR(szNameResolveOrder
),
1587 .flags
= FLAG_ADVANCED
| FLAG_WIZARD
,
1592 .p_class
= P_GLOBAL
,
1593 .offset
= GLOBAL_VAR(max_ttl
),
1596 .flags
= FLAG_ADVANCED
,
1599 .label
= "max wins ttl",
1601 .p_class
= P_GLOBAL
,
1602 .offset
= GLOBAL_VAR(max_wins_ttl
),
1605 .flags
= FLAG_ADVANCED
,
1608 .label
= "min wins ttl",
1610 .p_class
= P_GLOBAL
,
1611 .offset
= GLOBAL_VAR(min_wins_ttl
),
1614 .flags
= FLAG_ADVANCED
,
1617 .label
= "time server",
1619 .p_class
= P_GLOBAL
,
1620 .offset
= GLOBAL_VAR(bTimeServer
),
1623 .flags
= FLAG_ADVANCED
,
1626 .label
= "unix extensions",
1628 .p_class
= P_GLOBAL
,
1629 .offset
= GLOBAL_VAR(bUnixExtensions
),
1632 .flags
= FLAG_ADVANCED
,
1635 .label
= "use spnego",
1637 .p_class
= P_GLOBAL
,
1638 .offset
= GLOBAL_VAR(bUseSpnego
),
1641 .flags
= FLAG_ADVANCED
| FLAG_DEPRECATED
,
1644 .label
= "client signing",
1646 .p_class
= P_GLOBAL
,
1647 .offset
= GLOBAL_VAR(client_signing
),
1649 .enum_list
= enum_smb_signing_vals
,
1650 .flags
= FLAG_ADVANCED
,
1653 .label
= "server signing",
1655 .p_class
= P_GLOBAL
,
1656 .offset
= GLOBAL_VAR(server_signing
),
1658 .enum_list
= enum_smb_signing_vals
,
1659 .flags
= FLAG_ADVANCED
,
1662 .label
= "smb encrypt",
1665 .offset
= LOCAL_VAR(ismb_encrypt
),
1667 .enum_list
= enum_smb_signing_vals
,
1668 .flags
= FLAG_ADVANCED
,
1671 .label
= "client use spnego",
1673 .p_class
= P_GLOBAL
,
1674 .offset
= GLOBAL_VAR(bClientUseSpnego
),
1677 .flags
= FLAG_ADVANCED
,
1680 .label
= "client ldap sasl wrapping",
1682 .p_class
= P_GLOBAL
,
1683 .offset
= GLOBAL_VAR(client_ldap_sasl_wrapping
),
1685 .enum_list
= enum_ldap_sasl_wrapping
,
1686 .flags
= FLAG_ADVANCED
,
1689 .label
= "enable asu support",
1691 .p_class
= P_GLOBAL
,
1692 .offset
= GLOBAL_VAR(bASUSupport
),
1695 .flags
= FLAG_ADVANCED
,
1698 .label
= "svcctl list",
1700 .p_class
= P_GLOBAL
,
1701 .offset
= GLOBAL_VAR(szServicesList
),
1704 .flags
= FLAG_ADVANCED
,
1707 .label
= "cldap port",
1709 .p_class
= P_GLOBAL
,
1710 .offset
= GLOBAL_VAR(cldap_port
),
1715 .label
= "dgram port",
1717 .p_class
= P_GLOBAL
,
1718 .offset
= GLOBAL_VAR(dgram_port
),
1723 .label
= "nbt port",
1725 .p_class
= P_GLOBAL
,
1726 .offset
= GLOBAL_VAR(nbt_port
),
1731 .label
= "krb5 port",
1733 .p_class
= P_GLOBAL
,
1734 .offset
= GLOBAL_VAR(krb5_port
),
1739 .label
= "kpasswd port",
1741 .p_class
= P_GLOBAL
,
1742 .offset
= GLOBAL_VAR(kpasswd_port
),
1747 .label
= "web port",
1749 .p_class
= P_GLOBAL
,
1750 .offset
= GLOBAL_VAR(web_port
),
1755 .label
= "rpc big endian",
1757 .p_class
= P_GLOBAL
,
1758 .offset
= GLOBAL_VAR(bRpcBigEndian
),
1763 {N_("Tuning Options"), P_SEP
, P_SEPARATOR
},
1766 .label
= "block size",
1769 .offset
= LOCAL_VAR(iBlock_size
),
1772 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
1775 .label
= "deadtime",
1777 .p_class
= P_GLOBAL
,
1778 .offset
= GLOBAL_VAR(deadtime
),
1781 .flags
= FLAG_ADVANCED
,
1784 .label
= "getwd cache",
1786 .p_class
= P_GLOBAL
,
1787 .offset
= GLOBAL_VAR(getwd_cache
),
1790 .flags
= FLAG_ADVANCED
,
1793 .label
= "keepalive",
1795 .p_class
= P_GLOBAL
,
1796 .offset
= GLOBAL_VAR(iKeepalive
),
1799 .flags
= FLAG_ADVANCED
,
1802 .label
= "change notify",
1805 .offset
= LOCAL_VAR(bChangeNotify
),
1808 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1811 .label
= "directory name cache size",
1814 .offset
= LOCAL_VAR(iDirectoryNameCacheSize
),
1817 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1820 .label
= "kernel change notify",
1823 .offset
= LOCAL_VAR(bKernelChangeNotify
),
1826 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1829 .label
= "lpq cache time",
1831 .p_class
= P_GLOBAL
,
1832 .offset
= GLOBAL_VAR(lpqcachetime
),
1835 .flags
= FLAG_ADVANCED
,
1838 .label
= "max smbd processes",
1840 .p_class
= P_GLOBAL
,
1841 .offset
= GLOBAL_VAR(iMaxSmbdProcesses
),
1844 .flags
= FLAG_ADVANCED
,
1847 .label
= "max connections",
1850 .offset
= LOCAL_VAR(iMaxConnections
),
1853 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1856 .label
= "max disk size",
1858 .p_class
= P_GLOBAL
,
1859 .offset
= GLOBAL_VAR(maxdisksize
),
1862 .flags
= FLAG_ADVANCED
,
1865 .label
= "max open files",
1867 .p_class
= P_GLOBAL
,
1868 .offset
= GLOBAL_VAR(max_open_files
),
1871 .flags
= FLAG_ADVANCED
,
1874 .label
= "min print space",
1877 .offset
= LOCAL_VAR(iMinPrintSpace
),
1880 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
1883 .label
= "socket options",
1885 .p_class
= P_GLOBAL
,
1886 .offset
= GLOBAL_VAR(socket_options
),
1889 .flags
= FLAG_ADVANCED
,
1892 .label
= "strict allocate",
1895 .offset
= LOCAL_VAR(bStrictAllocate
),
1898 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1901 .label
= "strict sync",
1904 .offset
= LOCAL_VAR(bStrictSync
),
1907 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1910 .label
= "sync always",
1913 .offset
= LOCAL_VAR(bSyncAlways
),
1916 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1919 .label
= "use mmap",
1921 .p_class
= P_GLOBAL
,
1922 .offset
= GLOBAL_VAR(bUseMmap
),
1925 .flags
= FLAG_ADVANCED
,
1928 .label
= "use sendfile",
1931 .offset
= LOCAL_VAR(bUseSendfile
),
1934 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1937 .label
= "hostname lookups",
1939 .p_class
= P_GLOBAL
,
1940 .offset
= GLOBAL_VAR(bHostnameLookups
),
1943 .flags
= FLAG_ADVANCED
,
1946 .label
= "write cache size",
1949 .offset
= LOCAL_VAR(iWriteCacheSize
),
1952 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1955 .label
= "name cache timeout",
1957 .p_class
= P_GLOBAL
,
1958 .offset
= GLOBAL_VAR(name_cache_timeout
),
1961 .flags
= FLAG_ADVANCED
,
1964 .label
= "ctdbd socket",
1966 .p_class
= P_GLOBAL
,
1967 .offset
= GLOBAL_VAR(ctdbdSocket
),
1970 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
1973 .label
= "cluster addresses",
1975 .p_class
= P_GLOBAL
,
1976 .offset
= GLOBAL_VAR(szClusterAddresses
),
1979 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
1982 .label
= "clustering",
1984 .p_class
= P_GLOBAL
,
1985 .offset
= GLOBAL_VAR(clustering
),
1988 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
1991 .label
= "ctdb timeout",
1993 .p_class
= P_GLOBAL
,
1994 .offset
= GLOBAL_VAR(ctdb_timeout
),
1997 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
2000 .label
= "ctdb locktime warn threshold",
2002 .p_class
= P_GLOBAL
,
2003 .offset
= GLOBAL_VAR(ctdb_locktime_warn_threshold
),
2006 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
2009 .label
= "smb2 max read",
2011 .p_class
= P_GLOBAL
,
2012 .offset
= GLOBAL_VAR(ismb2_max_read
),
2015 .flags
= FLAG_ADVANCED
,
2018 .label
= "smb2 max write",
2020 .p_class
= P_GLOBAL
,
2021 .offset
= GLOBAL_VAR(ismb2_max_write
),
2024 .flags
= FLAG_ADVANCED
,
2027 .label
= "smb2 max trans",
2029 .p_class
= P_GLOBAL
,
2030 .offset
= GLOBAL_VAR(ismb2_max_trans
),
2033 .flags
= FLAG_ADVANCED
,
2036 .label
= "smb2 max credits",
2038 .p_class
= P_GLOBAL
,
2039 .offset
= GLOBAL_VAR(ismb2_max_credits
),
2042 .flags
= FLAG_ADVANCED
,
2045 {N_("Printing Options"), P_SEP
, P_SEPARATOR
},
2048 .label
= "max reported print jobs",
2051 .offset
= LOCAL_VAR(iMaxReportedPrintJobs
),
2054 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2057 .label
= "max print jobs",
2060 .offset
= LOCAL_VAR(iMaxPrintJobs
),
2063 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2066 .label
= "load printers",
2068 .p_class
= P_GLOBAL
,
2069 .offset
= GLOBAL_VAR(bLoadPrinters
),
2072 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2075 .label
= "printcap cache time",
2077 .p_class
= P_GLOBAL
,
2078 .offset
= GLOBAL_VAR(PrintcapCacheTime
),
2081 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2084 .label
= "printcap name",
2086 .p_class
= P_GLOBAL
,
2087 .offset
= GLOBAL_VAR(szPrintcapname
),
2090 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2093 .label
= "printcap",
2095 .p_class
= P_GLOBAL
,
2096 .offset
= GLOBAL_VAR(szPrintcapname
),
2102 .label
= "printable",
2105 .offset
= LOCAL_VAR(bPrint_ok
),
2108 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2111 .label
= "print notify backchannel",
2114 .offset
= LOCAL_VAR(bPrintNotifyBackchannel
),
2117 .flags
= FLAG_ADVANCED
,
2120 .label
= "print ok",
2123 .offset
= LOCAL_VAR(bPrint_ok
),
2129 .label
= "printing",
2132 .offset
= LOCAL_VAR(iPrinting
),
2133 .special
= handle_printing
,
2134 .enum_list
= enum_printing
,
2135 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2138 .label
= "cups options",
2141 .offset
= LOCAL_VAR(szCupsOptions
),
2144 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2147 .label
= "cups server",
2149 .p_class
= P_GLOBAL
,
2150 .offset
= GLOBAL_VAR(szCupsServer
),
2153 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2156 .label
= "cups encrypt",
2158 .p_class
= P_GLOBAL
,
2159 .offset
= GLOBAL_VAR(CupsEncrypt
),
2161 .enum_list
= enum_bool_auto
,
2162 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2166 .label
= "cups connection timeout",
2168 .p_class
= P_GLOBAL
,
2169 .offset
= GLOBAL_VAR(cups_connection_timeout
),
2172 .flags
= FLAG_ADVANCED
,
2175 .label
= "iprint server",
2177 .p_class
= P_GLOBAL
,
2178 .offset
= GLOBAL_VAR(szIPrintServer
),
2181 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2184 .label
= "print command",
2187 .offset
= LOCAL_VAR(szPrintcommand
),
2190 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2193 .label
= "disable spoolss",
2195 .p_class
= P_GLOBAL
,
2196 .offset
= GLOBAL_VAR(bDisableSpoolss
),
2199 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2202 .label
= "enable spoolss",
2204 .p_class
= P_GLOBAL
,
2205 .offset
= GLOBAL_VAR(bDisableSpoolss
),
2211 .label
= "lpq command",
2214 .offset
= LOCAL_VAR(szLpqcommand
),
2217 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2220 .label
= "lprm command",
2223 .offset
= LOCAL_VAR(szLprmcommand
),
2226 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2229 .label
= "lppause command",
2232 .offset
= LOCAL_VAR(szLppausecommand
),
2235 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2238 .label
= "lpresume command",
2241 .offset
= LOCAL_VAR(szLpresumecommand
),
2244 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2247 .label
= "queuepause command",
2250 .offset
= LOCAL_VAR(szQueuepausecommand
),
2253 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2256 .label
= "queueresume command",
2259 .offset
= LOCAL_VAR(szQueueresumecommand
),
2262 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2265 .label
= "addport command",
2267 .p_class
= P_GLOBAL
,
2268 .offset
= GLOBAL_VAR(szAddPortCommand
),
2271 .flags
= FLAG_ADVANCED
,
2274 .label
= "enumports command",
2276 .p_class
= P_GLOBAL
,
2277 .offset
= GLOBAL_VAR(szEnumPortsCommand
),
2280 .flags
= FLAG_ADVANCED
,
2283 .label
= "addprinter command",
2285 .p_class
= P_GLOBAL
,
2286 .offset
= GLOBAL_VAR(szAddPrinterCommand
),
2289 .flags
= FLAG_ADVANCED
,
2292 .label
= "deleteprinter command",
2294 .p_class
= P_GLOBAL
,
2295 .offset
= GLOBAL_VAR(szDeletePrinterCommand
),
2298 .flags
= FLAG_ADVANCED
,
2301 .label
= "show add printer wizard",
2303 .p_class
= P_GLOBAL
,
2304 .offset
= GLOBAL_VAR(bMsAddPrinterWizard
),
2307 .flags
= FLAG_ADVANCED
,
2310 .label
= "os2 driver map",
2312 .p_class
= P_GLOBAL
,
2313 .offset
= GLOBAL_VAR(szOs2DriverMap
),
2316 .flags
= FLAG_ADVANCED
,
2320 .label
= "printer name",
2323 .offset
= LOCAL_VAR(szPrintername
),
2326 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2332 .offset
= LOCAL_VAR(szPrintername
),
2338 .label
= "use client driver",
2341 .offset
= LOCAL_VAR(bUseClientDriver
),
2344 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2347 .label
= "default devmode",
2350 .offset
= LOCAL_VAR(bDefaultDevmode
),
2353 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2356 .label
= "force printername",
2359 .offset
= LOCAL_VAR(bForcePrintername
),
2362 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2365 .label
= "printjob username",
2368 .offset
= LOCAL_VAR(szPrintjobUsername
),
2371 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2374 {N_("Filename Handling"), P_SEP
, P_SEPARATOR
},
2377 .label
= "mangling method",
2379 .p_class
= P_GLOBAL
,
2380 .offset
= GLOBAL_VAR(szManglingMethod
),
2383 .flags
= FLAG_ADVANCED
,
2386 .label
= "mangle prefix",
2388 .p_class
= P_GLOBAL
,
2389 .offset
= GLOBAL_VAR(mangle_prefix
),
2392 .flags
= FLAG_ADVANCED
,
2396 .label
= "default case",
2399 .offset
= LOCAL_VAR(iDefaultCase
),
2401 .enum_list
= enum_case
,
2402 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
2405 .label
= "case sensitive",
2408 .offset
= LOCAL_VAR(iCaseSensitive
),
2410 .enum_list
= enum_bool_auto
,
2411 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2414 .label
= "casesignames",
2417 .offset
= LOCAL_VAR(iCaseSensitive
),
2419 .enum_list
= enum_bool_auto
,
2420 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
| FLAG_HIDE
,
2423 .label
= "preserve case",
2426 .offset
= LOCAL_VAR(bCasePreserve
),
2429 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2432 .label
= "short preserve case",
2435 .offset
= LOCAL_VAR(bShortCasePreserve
),
2438 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2441 .label
= "mangling char",
2444 .offset
= LOCAL_VAR(magic_char
),
2447 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2450 .label
= "hide dot files",
2453 .offset
= LOCAL_VAR(bHideDotFiles
),
2456 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2459 .label
= "hide special files",
2462 .offset
= LOCAL_VAR(bHideSpecialFiles
),
2465 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2468 .label
= "hide unreadable",
2471 .offset
= LOCAL_VAR(bHideUnReadable
),
2474 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2477 .label
= "hide unwriteable files",
2480 .offset
= LOCAL_VAR(bHideUnWriteableFiles
),
2483 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2486 .label
= "delete veto files",
2489 .offset
= LOCAL_VAR(bDeleteVetoFiles
),
2492 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2495 .label
= "veto files",
2498 .offset
= LOCAL_VAR(szVetoFiles
),
2501 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2504 .label
= "hide files",
2507 .offset
= LOCAL_VAR(szHideFiles
),
2510 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2513 .label
= "veto oplock files",
2516 .offset
= LOCAL_VAR(szVetoOplockFiles
),
2519 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2522 .label
= "map archive",
2525 .offset
= LOCAL_VAR(bMap_archive
),
2528 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2531 .label
= "map hidden",
2534 .offset
= LOCAL_VAR(bMap_hidden
),
2537 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2540 .label
= "map system",
2543 .offset
= LOCAL_VAR(bMap_system
),
2546 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2549 .label
= "map readonly",
2552 .offset
= LOCAL_VAR(iMap_readonly
),
2554 .enum_list
= enum_map_readonly
,
2555 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2558 .label
= "mangled names",
2561 .offset
= LOCAL_VAR(bMangledNames
),
2564 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2567 .label
= "max stat cache size",
2569 .p_class
= P_GLOBAL
,
2570 .offset
= GLOBAL_VAR(iMaxStatCacheSize
),
2573 .flags
= FLAG_ADVANCED
,
2576 .label
= "stat cache",
2578 .p_class
= P_GLOBAL
,
2579 .offset
= GLOBAL_VAR(bStatCache
),
2582 .flags
= FLAG_ADVANCED
,
2585 .label
= "store dos attributes",
2588 .offset
= LOCAL_VAR(bStoreDosAttributes
),
2591 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2594 .label
= "dmapi support",
2597 .offset
= LOCAL_VAR(bDmapiSupport
),
2600 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2604 {N_("Domain Options"), P_SEP
, P_SEPARATOR
},
2607 .label
= "machine password timeout",
2609 .p_class
= P_GLOBAL
,
2610 .offset
= GLOBAL_VAR(machine_password_timeout
),
2613 .flags
= FLAG_ADVANCED
| FLAG_WIZARD
,
2616 {N_("Logon Options"), P_SEP
, P_SEPARATOR
},
2619 .label
= "add user script",
2621 .p_class
= P_GLOBAL
,
2622 .offset
= GLOBAL_VAR(szAddUserScript
),
2625 .flags
= FLAG_ADVANCED
,
2628 .label
= "rename user script",
2630 .p_class
= P_GLOBAL
,
2631 .offset
= GLOBAL_VAR(szRenameUserScript
),
2634 .flags
= FLAG_ADVANCED
,
2637 .label
= "delete user script",
2639 .p_class
= P_GLOBAL
,
2640 .offset
= GLOBAL_VAR(szDelUserScript
),
2643 .flags
= FLAG_ADVANCED
,
2646 .label
= "add group script",
2648 .p_class
= P_GLOBAL
,
2649 .offset
= GLOBAL_VAR(szAddGroupScript
),
2652 .flags
= FLAG_ADVANCED
,
2655 .label
= "delete group script",
2657 .p_class
= P_GLOBAL
,
2658 .offset
= GLOBAL_VAR(szDelGroupScript
),
2661 .flags
= FLAG_ADVANCED
,
2664 .label
= "add user to group script",
2666 .p_class
= P_GLOBAL
,
2667 .offset
= GLOBAL_VAR(szAddUserToGroupScript
),
2670 .flags
= FLAG_ADVANCED
,
2673 .label
= "delete user from group script",
2675 .p_class
= P_GLOBAL
,
2676 .offset
= GLOBAL_VAR(szDelUserFromGroupScript
),
2679 .flags
= FLAG_ADVANCED
,
2682 .label
= "set primary group script",
2684 .p_class
= P_GLOBAL
,
2685 .offset
= GLOBAL_VAR(szSetPrimaryGroupScript
),
2688 .flags
= FLAG_ADVANCED
,
2691 .label
= "add machine script",
2693 .p_class
= P_GLOBAL
,
2694 .offset
= GLOBAL_VAR(szAddMachineScript
),
2697 .flags
= FLAG_ADVANCED
,
2700 .label
= "shutdown script",
2702 .p_class
= P_GLOBAL
,
2703 .offset
= GLOBAL_VAR(szShutdownScript
),
2706 .flags
= FLAG_ADVANCED
,
2709 .label
= "abort shutdown script",
2711 .p_class
= P_GLOBAL
,
2712 .offset
= GLOBAL_VAR(szAbortShutdownScript
),
2715 .flags
= FLAG_ADVANCED
,
2718 .label
= "username map script",
2720 .p_class
= P_GLOBAL
,
2721 .offset
= GLOBAL_VAR(szUsernameMapScript
),
2724 .flags
= FLAG_ADVANCED
,
2727 .label
= "username map cache time",
2729 .p_class
= P_GLOBAL
,
2730 .offset
= GLOBAL_VAR(iUsernameMapCacheTime
),
2733 .flags
= FLAG_ADVANCED
,
2736 .label
= "logon script",
2738 .p_class
= P_GLOBAL
,
2739 .offset
= GLOBAL_VAR(szLogonScript
),
2742 .flags
= FLAG_ADVANCED
,
2745 .label
= "logon path",
2747 .p_class
= P_GLOBAL
,
2748 .offset
= GLOBAL_VAR(szLogonPath
),
2751 .flags
= FLAG_ADVANCED
,
2754 .label
= "logon drive",
2756 .p_class
= P_GLOBAL
,
2757 .offset
= GLOBAL_VAR(szLogonDrive
),
2760 .flags
= FLAG_ADVANCED
,
2763 .label
= "logon home",
2765 .p_class
= P_GLOBAL
,
2766 .offset
= GLOBAL_VAR(szLogonHome
),
2769 .flags
= FLAG_ADVANCED
,
2772 .label
= "domain logons",
2774 .p_class
= P_GLOBAL
,
2775 .offset
= GLOBAL_VAR(bDomainLogons
),
2778 .flags
= FLAG_ADVANCED
,
2782 .label
= "init logon delayed hosts",
2784 .p_class
= P_GLOBAL
,
2785 .offset
= GLOBAL_VAR(szInitLogonDelayedHosts
),
2788 .flags
= FLAG_ADVANCED
,
2792 .label
= "init logon delay",
2794 .p_class
= P_GLOBAL
,
2795 .offset
= GLOBAL_VAR(InitLogonDelay
),
2798 .flags
= FLAG_ADVANCED
,
2802 {N_("Browse Options"), P_SEP
, P_SEPARATOR
},
2805 .label
= "os level",
2807 .p_class
= P_GLOBAL
,
2808 .offset
= GLOBAL_VAR(os_level
),
2811 .flags
= FLAG_BASIC
| FLAG_ADVANCED
,
2814 .label
= "lm announce",
2816 .p_class
= P_GLOBAL
,
2817 .offset
= GLOBAL_VAR(lm_announce
),
2819 .enum_list
= enum_bool_auto
,
2820 .flags
= FLAG_ADVANCED
,
2823 .label
= "lm interval",
2825 .p_class
= P_GLOBAL
,
2826 .offset
= GLOBAL_VAR(lm_interval
),
2829 .flags
= FLAG_ADVANCED
,
2832 .label
= "preferred master",
2834 .p_class
= P_GLOBAL
,
2835 .offset
= GLOBAL_VAR(iPreferredMaster
),
2837 .enum_list
= enum_bool_auto
,
2838 .flags
= FLAG_BASIC
| FLAG_ADVANCED
,
2841 .label
= "prefered master",
2843 .p_class
= P_GLOBAL
,
2844 .offset
= GLOBAL_VAR(iPreferredMaster
),
2846 .enum_list
= enum_bool_auto
,
2850 .label
= "local master",
2852 .p_class
= P_GLOBAL
,
2853 .offset
= GLOBAL_VAR(bLocalMaster
),
2856 .flags
= FLAG_BASIC
| FLAG_ADVANCED
,
2859 .label
= "domain master",
2861 .p_class
= P_GLOBAL
,
2862 .offset
= GLOBAL_VAR(domain_master
),
2864 .enum_list
= enum_bool_auto
,
2865 .flags
= FLAG_BASIC
| FLAG_ADVANCED
,
2868 .label
= "browse list",
2870 .p_class
= P_GLOBAL
,
2871 .offset
= GLOBAL_VAR(bBrowseList
),
2874 .flags
= FLAG_ADVANCED
,
2877 .label
= "browseable",
2880 .offset
= LOCAL_VAR(bBrowseable
),
2883 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
2886 .label
= "browsable",
2889 .offset
= LOCAL_VAR(bBrowseable
),
2895 .label
= "access based share enum",
2898 .offset
= LOCAL_VAR(bAccessBasedShareEnum
),
2901 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_SHARE
2904 .label
= "enhanced browsing",
2906 .p_class
= P_GLOBAL
,
2907 .offset
= GLOBAL_VAR(enhanced_browsing
),
2910 .flags
= FLAG_ADVANCED
,
2913 {N_("WINS Options"), P_SEP
, P_SEPARATOR
},
2916 .label
= "dns proxy",
2918 .p_class
= P_GLOBAL
,
2919 .offset
= GLOBAL_VAR(bWINSdnsProxy
),
2922 .flags
= FLAG_ADVANCED
,
2925 .label
= "wins proxy",
2927 .p_class
= P_GLOBAL
,
2928 .offset
= GLOBAL_VAR(bWINSproxy
),
2931 .flags
= FLAG_ADVANCED
,
2934 .label
= "wins server",
2936 .p_class
= P_GLOBAL
,
2937 .offset
= GLOBAL_VAR(szWINSservers
),
2940 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_WIZARD
,
2943 .label
= "wins support",
2945 .p_class
= P_GLOBAL
,
2946 .offset
= GLOBAL_VAR(bWINSsupport
),
2949 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_WIZARD
,
2952 .label
= "wins hook",
2954 .p_class
= P_GLOBAL
,
2955 .offset
= GLOBAL_VAR(szWINSHook
),
2958 .flags
= FLAG_ADVANCED
,
2961 {N_("Locking Options"), P_SEP
, P_SEPARATOR
},
2964 .label
= "blocking locks",
2967 .offset
= LOCAL_VAR(bBlockingLocks
),
2970 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2973 .label
= "csc policy",
2976 .offset
= LOCAL_VAR(iCSCPolicy
),
2978 .enum_list
= enum_csc_policy
,
2979 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2982 .label
= "fake oplocks",
2985 .offset
= LOCAL_VAR(bFakeOplocks
),
2988 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
2991 .label
= "kernel oplocks",
2994 .offset
= LOCAL_VAR(bKernelOplocks
),
2997 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3003 .offset
= LOCAL_VAR(bLocking
),
3006 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3009 .label
= "lock spin time",
3011 .p_class
= P_GLOBAL
,
3012 .offset
= GLOBAL_VAR(iLockSpinTime
),
3015 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
3021 .offset
= LOCAL_VAR(bOpLocks
),
3024 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3027 .label
= "level2 oplocks",
3030 .offset
= LOCAL_VAR(bLevel2OpLocks
),
3033 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3036 .label
= "oplock break wait time",
3038 .p_class
= P_GLOBAL
,
3039 .offset
= GLOBAL_VAR(oplock_break_wait_time
),
3042 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
3045 .label
= "oplock contention limit",
3048 .offset
= LOCAL_VAR(iOplockContentionLimit
),
3051 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3054 .label
= "posix locking",
3057 .offset
= LOCAL_VAR(bPosixLocking
),
3060 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3063 .label
= "strict locking",
3066 .offset
= LOCAL_VAR(iStrictLocking
),
3068 .enum_list
= enum_bool_auto
,
3069 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3072 {N_("Ldap Options"), P_SEP
, P_SEPARATOR
},
3075 .label
= "ldap admin dn",
3077 .p_class
= P_GLOBAL
,
3078 .offset
= GLOBAL_VAR(szLdapAdminDn
),
3081 .flags
= FLAG_ADVANCED
,
3084 .label
= "ldap delete dn",
3086 .p_class
= P_GLOBAL
,
3087 .offset
= GLOBAL_VAR(ldap_delete_dn
),
3090 .flags
= FLAG_ADVANCED
,
3093 .label
= "ldap group suffix",
3095 .p_class
= P_GLOBAL
,
3096 .offset
= GLOBAL_VAR(szLdapGroupSuffix
),
3099 .flags
= FLAG_ADVANCED
,
3102 .label
= "ldap idmap suffix",
3104 .p_class
= P_GLOBAL
,
3105 .offset
= GLOBAL_VAR(szLdapIdmapSuffix
),
3108 .flags
= FLAG_ADVANCED
,
3111 .label
= "ldap machine suffix",
3113 .p_class
= P_GLOBAL
,
3114 .offset
= GLOBAL_VAR(szLdapMachineSuffix
),
3117 .flags
= FLAG_ADVANCED
,
3120 .label
= "ldap passwd sync",
3122 .p_class
= P_GLOBAL
,
3123 .offset
= GLOBAL_VAR(ldap_passwd_sync
),
3125 .enum_list
= enum_ldap_passwd_sync
,
3126 .flags
= FLAG_ADVANCED
,
3129 .label
= "ldap password sync",
3131 .p_class
= P_GLOBAL
,
3132 .offset
= GLOBAL_VAR(ldap_passwd_sync
),
3134 .enum_list
= enum_ldap_passwd_sync
,
3138 .label
= "ldap replication sleep",
3140 .p_class
= P_GLOBAL
,
3141 .offset
= GLOBAL_VAR(ldap_replication_sleep
),
3144 .flags
= FLAG_ADVANCED
,
3147 .label
= "ldap suffix",
3149 .p_class
= P_GLOBAL
,
3150 .offset
= GLOBAL_VAR(szLdapSuffix
),
3153 .flags
= FLAG_ADVANCED
,
3156 .label
= "ldap ssl",
3158 .p_class
= P_GLOBAL
,
3159 .offset
= GLOBAL_VAR(ldap_ssl
),
3161 .enum_list
= enum_ldap_ssl
,
3162 .flags
= FLAG_ADVANCED
,
3165 .label
= "ldap ssl ads",
3167 .p_class
= P_GLOBAL
,
3168 .offset
= GLOBAL_VAR(ldap_ssl_ads
),
3171 .flags
= FLAG_ADVANCED
,
3174 .label
= "ldap deref",
3176 .p_class
= P_GLOBAL
,
3177 .offset
= GLOBAL_VAR(ldap_deref
),
3179 .enum_list
= enum_ldap_deref
,
3180 .flags
= FLAG_ADVANCED
,
3183 .label
= "ldap follow referral",
3185 .p_class
= P_GLOBAL
,
3186 .offset
= GLOBAL_VAR(ldap_follow_referral
),
3188 .enum_list
= enum_bool_auto
,
3189 .flags
= FLAG_ADVANCED
,
3192 .label
= "ldap timeout",
3194 .p_class
= P_GLOBAL
,
3195 .offset
= GLOBAL_VAR(ldap_timeout
),
3198 .flags
= FLAG_ADVANCED
,
3201 .label
= "ldap connection timeout",
3203 .p_class
= P_GLOBAL
,
3204 .offset
= GLOBAL_VAR(ldap_connection_timeout
),
3207 .flags
= FLAG_ADVANCED
,
3210 .label
= "ldap page size",
3212 .p_class
= P_GLOBAL
,
3213 .offset
= GLOBAL_VAR(ldap_page_size
),
3216 .flags
= FLAG_ADVANCED
,
3219 .label
= "ldap user suffix",
3221 .p_class
= P_GLOBAL
,
3222 .offset
= GLOBAL_VAR(szLdapUserSuffix
),
3225 .flags
= FLAG_ADVANCED
,
3228 .label
= "ldap debug level",
3230 .p_class
= P_GLOBAL
,
3231 .offset
= GLOBAL_VAR(ldap_debug_level
),
3232 .special
= handle_ldap_debug_level
,
3234 .flags
= FLAG_ADVANCED
,
3237 .label
= "ldap debug threshold",
3239 .p_class
= P_GLOBAL
,
3240 .offset
= GLOBAL_VAR(ldap_debug_threshold
),
3243 .flags
= FLAG_ADVANCED
,
3246 {N_("EventLog Options"), P_SEP
, P_SEPARATOR
},
3249 .label
= "eventlog list",
3251 .p_class
= P_GLOBAL
,
3252 .offset
= GLOBAL_VAR(szEventLogs
),
3255 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
3258 {N_("Miscellaneous Options"), P_SEP
, P_SEPARATOR
},
3261 .label
= "add share command",
3263 .p_class
= P_GLOBAL
,
3264 .offset
= GLOBAL_VAR(szAddShareCommand
),
3267 .flags
= FLAG_ADVANCED
,
3270 .label
= "change share command",
3272 .p_class
= P_GLOBAL
,
3273 .offset
= GLOBAL_VAR(szChangeShareCommand
),
3276 .flags
= FLAG_ADVANCED
,
3279 .label
= "delete share command",
3281 .p_class
= P_GLOBAL
,
3282 .offset
= GLOBAL_VAR(szDeleteShareCommand
),
3285 .flags
= FLAG_ADVANCED
,
3288 .label
= "config file",
3290 .p_class
= P_GLOBAL
,
3291 .offset
= GLOBAL_VAR(szConfigFile
),
3294 .flags
= FLAG_HIDE
|FLAG_META
,
3299 .p_class
= P_GLOBAL
,
3300 .offset
= GLOBAL_VAR(szAutoServices
),
3303 .flags
= FLAG_ADVANCED
,
3306 .label
= "auto services",
3308 .p_class
= P_GLOBAL
,
3309 .offset
= GLOBAL_VAR(szAutoServices
),
3312 .flags
= FLAG_ADVANCED
,
3315 .label
= "lock directory",
3317 .p_class
= P_GLOBAL
,
3318 .offset
= GLOBAL_VAR(szLockDir
),
3321 .flags
= FLAG_ADVANCED
,
3324 .label
= "lock dir",
3326 .p_class
= P_GLOBAL
,
3327 .offset
= GLOBAL_VAR(szLockDir
),
3333 .label
= "state directory",
3335 .p_class
= P_GLOBAL
,
3336 .offset
= GLOBAL_VAR(szStateDir
),
3339 .flags
= FLAG_ADVANCED
,
3342 .label
= "cache directory",
3344 .p_class
= P_GLOBAL
,
3345 .offset
= GLOBAL_VAR(szCacheDir
),
3348 .flags
= FLAG_ADVANCED
,
3351 .label
= "pid directory",
3353 .p_class
= P_GLOBAL
,
3354 .offset
= GLOBAL_VAR(szPidDir
),
3357 .flags
= FLAG_ADVANCED
,
3360 .label
= "ntp signd socket directory",
3362 .p_class
= P_GLOBAL
,
3363 .offset
= GLOBAL_VAR(szNTPSignDSocketDirectory
),
3366 .flags
= FLAG_ADVANCED
,
3371 .label
= "utmp directory",
3373 .p_class
= P_GLOBAL
,
3374 .offset
= GLOBAL_VAR(szUtmpDir
),
3377 .flags
= FLAG_ADVANCED
,
3380 .label
= "wtmp directory",
3382 .p_class
= P_GLOBAL
,
3383 .offset
= GLOBAL_VAR(szWtmpDir
),
3386 .flags
= FLAG_ADVANCED
,
3391 .p_class
= P_GLOBAL
,
3392 .offset
= GLOBAL_VAR(bUtmp
),
3395 .flags
= FLAG_ADVANCED
,
3399 .label
= "default service",
3401 .p_class
= P_GLOBAL
,
3402 .offset
= GLOBAL_VAR(szDefaultService
),
3405 .flags
= FLAG_ADVANCED
,
3410 .p_class
= P_GLOBAL
,
3411 .offset
= GLOBAL_VAR(szDefaultService
),
3414 .flags
= FLAG_ADVANCED
,
3417 .label
= "message command",
3419 .p_class
= P_GLOBAL
,
3420 .offset
= GLOBAL_VAR(szMsgCommand
),
3423 .flags
= FLAG_ADVANCED
,
3426 .label
= "dfree cache time",
3429 .offset
= LOCAL_VAR(iDfreeCacheTime
),
3432 .flags
= FLAG_ADVANCED
,
3435 .label
= "dfree command",
3438 .offset
= LOCAL_VAR(szDfree
),
3441 .flags
= FLAG_ADVANCED
,
3444 .label
= "get quota command",
3446 .p_class
= P_GLOBAL
,
3447 .offset
= GLOBAL_VAR(szGetQuota
),
3450 .flags
= FLAG_ADVANCED
,
3453 .label
= "set quota command",
3455 .p_class
= P_GLOBAL
,
3456 .offset
= GLOBAL_VAR(szSetQuota
),
3459 .flags
= FLAG_ADVANCED
,
3462 .label
= "remote announce",
3464 .p_class
= P_GLOBAL
,
3465 .offset
= GLOBAL_VAR(szRemoteAnnounce
),
3468 .flags
= FLAG_ADVANCED
,
3471 .label
= "remote browse sync",
3473 .p_class
= P_GLOBAL
,
3474 .offset
= GLOBAL_VAR(szRemoteBrowseSync
),
3477 .flags
= FLAG_ADVANCED
,
3480 .label
= "nbt client socket address",
3482 .p_class
= P_GLOBAL
,
3483 .offset
= GLOBAL_VAR(nbt_client_socket_address
),
3486 .flags
= FLAG_ADVANCED
| FLAG_DEPRECATED
,
3489 .label
= "socket address",
3491 .p_class
= P_GLOBAL
,
3492 .offset
= GLOBAL_VAR(nbt_client_socket_address
),
3495 .flags
= FLAG_ADVANCED
| FLAG_DEPRECATED
,
3498 .label
= "nmbd bind explicit broadcast",
3500 .p_class
= P_GLOBAL
,
3501 .offset
= GLOBAL_VAR(bNmbdBindExplicitBroadcast
),
3504 .flags
= FLAG_ADVANCED
,
3507 .label
= "homedir map",
3509 .p_class
= P_GLOBAL
,
3510 .offset
= GLOBAL_VAR(szNISHomeMapName
),
3513 .flags
= FLAG_ADVANCED
,
3516 .label
= "afs username map",
3518 .p_class
= P_GLOBAL
,
3519 .offset
= GLOBAL_VAR(szAfsUsernameMap
),
3522 .flags
= FLAG_ADVANCED
,
3525 .label
= "afs token lifetime",
3527 .p_class
= P_GLOBAL
,
3528 .offset
= GLOBAL_VAR(iAfsTokenLifetime
),
3531 .flags
= FLAG_ADVANCED
,
3534 .label
= "log nt token command",
3536 .p_class
= P_GLOBAL
,
3537 .offset
= GLOBAL_VAR(szLogNtTokenCommand
),
3540 .flags
= FLAG_ADVANCED
,
3543 .label
= "NIS homedir",
3545 .p_class
= P_GLOBAL
,
3546 .offset
= GLOBAL_VAR(bNISHomeMap
),
3549 .flags
= FLAG_ADVANCED
,
3555 .offset
= LOCAL_VAR(valid
),
3564 .offset
= LOCAL_VAR(szCopy
),
3565 .special
= handle_copy
,
3573 .offset
= LOCAL_VAR(szInclude
),
3574 .special
= handle_include
,
3576 .flags
= FLAG_HIDE
|FLAG_META
,
3582 .offset
= LOCAL_VAR(szPreExec
),
3585 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
3591 .offset
= LOCAL_VAR(szPreExec
),
3594 .flags
= FLAG_ADVANCED
,
3597 .label
= "preexec close",
3600 .offset
= LOCAL_VAR(bPreexecClose
),
3603 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3606 .label
= "postexec",
3609 .offset
= LOCAL_VAR(szPostExec
),
3612 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
3615 .label
= "root preexec",
3618 .offset
= LOCAL_VAR(szRootPreExec
),
3621 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
3624 .label
= "root preexec close",
3627 .offset
= LOCAL_VAR(bRootpreexecClose
),
3630 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3633 .label
= "root postexec",
3636 .offset
= LOCAL_VAR(szRootPostExec
),
3639 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
3642 .label
= "available",
3645 .offset
= LOCAL_VAR(bAvailable
),
3648 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
3651 .label
= "registry shares",
3653 .p_class
= P_GLOBAL
,
3654 .offset
= GLOBAL_VAR(bRegistryShares
),
3657 .flags
= FLAG_ADVANCED
,
3660 .label
= "usershare allow guests",
3662 .p_class
= P_GLOBAL
,
3663 .offset
= GLOBAL_VAR(bUsershareAllowGuests
),
3666 .flags
= FLAG_ADVANCED
,
3669 .label
= "usershare max shares",
3671 .p_class
= P_GLOBAL
,
3672 .offset
= GLOBAL_VAR(iUsershareMaxShares
),
3675 .flags
= FLAG_ADVANCED
,
3678 .label
= "usershare owner only",
3680 .p_class
= P_GLOBAL
,
3681 .offset
= GLOBAL_VAR(bUsershareOwnerOnly
),
3684 .flags
= FLAG_ADVANCED
,
3687 .label
= "usershare path",
3689 .p_class
= P_GLOBAL
,
3690 .offset
= GLOBAL_VAR(szUsersharePath
),
3693 .flags
= FLAG_ADVANCED
,
3696 .label
= "usershare prefix allow list",
3698 .p_class
= P_GLOBAL
,
3699 .offset
= GLOBAL_VAR(szUsersharePrefixAllowList
),
3702 .flags
= FLAG_ADVANCED
,
3705 .label
= "usershare prefix deny list",
3707 .p_class
= P_GLOBAL
,
3708 .offset
= GLOBAL_VAR(szUsersharePrefixDenyList
),
3711 .flags
= FLAG_ADVANCED
,
3714 .label
= "usershare template share",
3716 .p_class
= P_GLOBAL
,
3717 .offset
= GLOBAL_VAR(szUsershareTemplateShare
),
3720 .flags
= FLAG_ADVANCED
,
3726 .offset
= LOCAL_VAR(volume
),
3729 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3735 .offset
= LOCAL_VAR(fstype
),
3738 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3741 .label
= "set directory",
3744 .offset
= LOCAL_VAR(bNo_set_dir
),
3747 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3750 .label
= "allow insecure wide links",
3752 .p_class
= P_GLOBAL
,
3753 .offset
= GLOBAL_VAR(bAllowInsecureWidelinks
),
3756 .flags
= FLAG_ADVANCED
,
3759 .label
= "wide links",
3762 .offset
= LOCAL_VAR(bWidelinks
),
3765 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3768 .label
= "follow symlinks",
3771 .offset
= LOCAL_VAR(bSymlinks
),
3774 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3777 .label
= "dont descend",
3780 .offset
= LOCAL_VAR(szDontdescend
),
3783 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3786 .label
= "magic script",
3789 .offset
= LOCAL_VAR(szMagicScript
),
3792 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3795 .label
= "magic output",
3798 .offset
= LOCAL_VAR(szMagicOutput
),
3801 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3804 .label
= "delete readonly",
3807 .offset
= LOCAL_VAR(bDeleteReadonly
),
3810 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3813 .label
= "dos filemode",
3816 .offset
= LOCAL_VAR(bDosFilemode
),
3819 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3822 .label
= "dos filetimes",
3825 .offset
= LOCAL_VAR(bDosFiletimes
),
3828 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3831 .label
= "dos filetime resolution",
3834 .offset
= LOCAL_VAR(bDosFiletimeResolution
),
3837 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3840 .label
= "fake directory create times",
3843 .offset
= LOCAL_VAR(bFakeDirCreateTimes
),
3846 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
3849 .label
= "async smb echo handler",
3851 .p_class
= P_GLOBAL
,
3852 .offset
= GLOBAL_VAR(bAsyncSMBEchoHandler
),
3855 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
3858 .label
= "panic action",
3860 .p_class
= P_GLOBAL
,
3861 .offset
= GLOBAL_VAR(szPanicAction
),
3864 .flags
= FLAG_ADVANCED
,
3867 .label
= "perfcount module",
3869 .p_class
= P_GLOBAL
,
3870 .offset
= GLOBAL_VAR(szSMBPerfcountModule
),
3873 .flags
= FLAG_ADVANCED
,
3876 {N_("VFS module options"), P_SEP
, P_SEPARATOR
},
3879 .label
= "vfs objects",
3882 .offset
= LOCAL_VAR(szVfsObjects
),
3885 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3888 .label
= "vfs object",
3891 .offset
= LOCAL_VAR(szVfsObjects
),
3898 {N_("MSDFS options"), P_SEP
, P_SEPARATOR
},
3901 .label
= "msdfs root",
3904 .offset
= LOCAL_VAR(bMSDfsRoot
),
3907 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3910 .label
= "msdfs proxy",
3913 .offset
= LOCAL_VAR(szMSDfsProxy
),
3916 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3919 .label
= "host msdfs",
3921 .p_class
= P_GLOBAL
,
3922 .offset
= GLOBAL_VAR(bHostMSDfs
),
3925 .flags
= FLAG_ADVANCED
,
3928 {N_("Winbind options"), P_SEP
, P_SEPARATOR
},
3931 .label
= "passdb expand explicit",
3933 .p_class
= P_GLOBAL
,
3934 .offset
= GLOBAL_VAR(bPassdbExpandExplicit
),
3937 .flags
= FLAG_ADVANCED
,
3940 .label
= "idmap backend",
3942 .p_class
= P_GLOBAL
,
3943 .offset
= GLOBAL_VAR(szIdmapBackend
),
3944 .special
= handle_idmap_backend
,
3946 .flags
= FLAG_ADVANCED
| FLAG_DEPRECATED
,
3949 .label
= "idmap cache time",
3951 .p_class
= P_GLOBAL
,
3952 .offset
= GLOBAL_VAR(iIdmapCacheTime
),
3955 .flags
= FLAG_ADVANCED
,
3958 .label
= "idmap negative cache time",
3960 .p_class
= P_GLOBAL
,
3961 .offset
= GLOBAL_VAR(iIdmapNegativeCacheTime
),
3964 .flags
= FLAG_ADVANCED
,
3967 .label
= "idmap uid",
3969 .p_class
= P_GLOBAL
,
3970 .offset
= GLOBAL_VAR(szIdmapUID
),
3971 .special
= handle_idmap_uid
,
3973 .flags
= FLAG_ADVANCED
| FLAG_DEPRECATED
,
3976 .label
= "winbind uid",
3978 .p_class
= P_GLOBAL
,
3979 .offset
= GLOBAL_VAR(szIdmapUID
),
3980 .special
= handle_idmap_uid
,
3985 .label
= "idmap gid",
3987 .p_class
= P_GLOBAL
,
3988 .offset
= GLOBAL_VAR(szIdmapGID
),
3989 .special
= handle_idmap_gid
,
3991 .flags
= FLAG_ADVANCED
| FLAG_DEPRECATED
,
3994 .label
= "winbind gid",
3996 .p_class
= P_GLOBAL
,
3997 .offset
= GLOBAL_VAR(szIdmapGID
),
3998 .special
= handle_idmap_gid
,
4003 .label
= "template homedir",
4005 .p_class
= P_GLOBAL
,
4006 .offset
= GLOBAL_VAR(szTemplateHomedir
),
4009 .flags
= FLAG_ADVANCED
,
4012 .label
= "template shell",
4014 .p_class
= P_GLOBAL
,
4015 .offset
= GLOBAL_VAR(szTemplateShell
),
4018 .flags
= FLAG_ADVANCED
,
4021 .label
= "winbind separator",
4023 .p_class
= P_GLOBAL
,
4024 .offset
= GLOBAL_VAR(szWinbindSeparator
),
4027 .flags
= FLAG_ADVANCED
,
4030 .label
= "winbind cache time",
4032 .p_class
= P_GLOBAL
,
4033 .offset
= GLOBAL_VAR(winbind_cache_time
),
4036 .flags
= FLAG_ADVANCED
,
4039 .label
= "winbind reconnect delay",
4041 .p_class
= P_GLOBAL
,
4042 .offset
= GLOBAL_VAR(winbind_reconnect_delay
),
4045 .flags
= FLAG_ADVANCED
,
4048 .label
= "winbind max clients",
4050 .p_class
= P_GLOBAL
,
4051 .offset
= GLOBAL_VAR(winbind_max_clients
),
4054 .flags
= FLAG_ADVANCED
,
4057 .label
= "winbind enum users",
4059 .p_class
= P_GLOBAL
,
4060 .offset
= GLOBAL_VAR(bWinbindEnumUsers
),
4063 .flags
= FLAG_ADVANCED
,
4066 .label
= "winbind enum groups",
4068 .p_class
= P_GLOBAL
,
4069 .offset
= GLOBAL_VAR(bWinbindEnumGroups
),
4072 .flags
= FLAG_ADVANCED
,
4075 .label
= "winbind use default domain",
4077 .p_class
= P_GLOBAL
,
4078 .offset
= GLOBAL_VAR(bWinbindUseDefaultDomain
),
4081 .flags
= FLAG_ADVANCED
,
4084 .label
= "winbind trusted domains only",
4086 .p_class
= P_GLOBAL
,
4087 .offset
= GLOBAL_VAR(bWinbindTrustedDomainsOnly
),
4090 .flags
= FLAG_ADVANCED
,
4093 .label
= "winbind nested groups",
4095 .p_class
= P_GLOBAL
,
4096 .offset
= GLOBAL_VAR(bWinbindNestedGroups
),
4099 .flags
= FLAG_ADVANCED
,
4102 .label
= "winbind expand groups",
4104 .p_class
= P_GLOBAL
,
4105 .offset
= GLOBAL_VAR(winbind_expand_groups
),
4108 .flags
= FLAG_ADVANCED
,
4111 .label
= "winbind nss info",
4113 .p_class
= P_GLOBAL
,
4114 .offset
= GLOBAL_VAR(szWinbindNssInfo
),
4117 .flags
= FLAG_ADVANCED
,
4120 .label
= "winbind refresh tickets",
4122 .p_class
= P_GLOBAL
,
4123 .offset
= GLOBAL_VAR(bWinbindRefreshTickets
),
4126 .flags
= FLAG_ADVANCED
,
4129 .label
= "winbind offline logon",
4131 .p_class
= P_GLOBAL
,
4132 .offset
= GLOBAL_VAR(bWinbindOfflineLogon
),
4135 .flags
= FLAG_ADVANCED
,
4138 .label
= "winbind normalize names",
4140 .p_class
= P_GLOBAL
,
4141 .offset
= GLOBAL_VAR(bWinbindNormalizeNames
),
4144 .flags
= FLAG_ADVANCED
,
4147 .label
= "winbind rpc only",
4149 .p_class
= P_GLOBAL
,
4150 .offset
= GLOBAL_VAR(bWinbindRpcOnly
),
4153 .flags
= FLAG_ADVANCED
,
4156 .label
= "create krb5 conf",
4158 .p_class
= P_GLOBAL
,
4159 .offset
= GLOBAL_VAR(bCreateKrb5Conf
),
4162 .flags
= FLAG_ADVANCED
,
4165 .label
= "ncalrpc dir",
4167 .p_class
= P_GLOBAL
,
4168 .offset
= GLOBAL_VAR(ncalrpc_dir
),
4171 .flags
= FLAG_ADVANCED
,
4174 .label
= "winbind max domain connections",
4176 .p_class
= P_GLOBAL
,
4177 .offset
= GLOBAL_VAR(winbindMaxDomainConnections
),
4180 .flags
= FLAG_ADVANCED
,
4183 .label
= "winbindd socket directory",
4185 .p_class
= P_GLOBAL
,
4186 .offset
= GLOBAL_VAR(szWinbinddSocketDirectory
),
4189 .flags
= FLAG_ADVANCED
,
4192 .label
= "winbindd privileged socket directory",
4194 .p_class
= P_GLOBAL
,
4195 .offset
= GLOBAL_VAR(szWinbinddPrivilegedSocketDirectory
),
4198 .flags
= FLAG_ADVANCED
,
4201 .label
= "winbind sealed pipes",
4203 .p_class
= P_GLOBAL
,
4204 .offset
= GLOBAL_VAR(bWinbindSealedPipes
),
4207 .flags
= FLAG_ADVANCED
,
4210 {N_("DNS options"), P_SEP
, P_SEPARATOR
},
4212 .label
= "allow dns updates",
4214 .p_class
= P_GLOBAL
,
4215 .offset
= GLOBAL_VAR(allow_dns_updates
),
4217 .enum_list
= enum_dns_update_settings
,
4218 .flags
= FLAG_ADVANCED
,
4221 .label
= "dns forwarder",
4223 .p_class
= P_GLOBAL
,
4224 .offset
= GLOBAL_VAR(dns_forwarder
),
4227 .flags
= FLAG_ADVANCED
,
4230 .label
= "dns recursive queries",
4232 .p_class
= P_GLOBAL
,
4233 .offset
= GLOBAL_VAR(dns_recursive_queries
),
4238 .label
= "dns update command",
4240 .p_class
= P_GLOBAL
,
4241 .offset
= GLOBAL_VAR(szDNSUpdateCommand
),
4244 .flags
= FLAG_ADVANCED
,
4247 .label
= "nsupdate command",
4249 .p_class
= P_GLOBAL
,
4250 .offset
= GLOBAL_VAR(szNSUpdateCommand
),
4253 .flags
= FLAG_ADVANCED
,
4256 .label
= "rndc command",
4258 .p_class
= P_GLOBAL
,
4259 .offset
= GLOBAL_VAR(szRNDCCommand
),
4262 .flags
= FLAG_ADVANCED
,
4265 .label
= "multicast dns register",
4267 .p_class
= P_GLOBAL
,
4268 .offset
= GLOBAL_VAR(bMulticastDnsRegister
),
4271 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
4274 {N_("AD DC options"), P_SEP
, P_SEPARATOR
},
4277 .label
= "samba kcc command",
4279 .p_class
= P_GLOBAL
,
4280 .offset
= GLOBAL_VAR(szSambaKCCCommand
),
4283 .flags
= FLAG_ADVANCED
,
4286 .label
= "server services",
4288 .p_class
= P_GLOBAL
,
4289 .offset
= GLOBAL_VAR(server_services
),
4294 .label
= "dcerpc endpoint servers",
4296 .p_class
= P_GLOBAL
,
4297 .offset
= GLOBAL_VAR(dcerpc_ep_servers
),
4302 .label
= "spn update command",
4304 .p_class
= P_GLOBAL
,
4305 .offset
= GLOBAL_VAR(szSPNUpdateCommand
),
4308 .flags
= FLAG_ADVANCED
,
4311 .label
= "share backend",
4313 .p_class
= P_GLOBAL
,
4314 .offset
= GLOBAL_VAR(szShareBackend
),
4319 .label
= "ntvfs handler",
4322 .offset
= LOCAL_VAR(ntvfs_handler
),
4327 {N_("TLS options"), P_SEP
, P_SEPARATOR
},
4330 .label
= "tls enabled",
4332 .p_class
= P_GLOBAL
,
4333 .offset
= GLOBAL_VAR(tls_enabled
),
4338 .label
= "tls keyfile",
4340 .p_class
= P_GLOBAL
,
4341 .offset
= GLOBAL_VAR(tls_keyfile
),
4346 .label
= "tls certfile",
4348 .p_class
= P_GLOBAL
,
4349 .offset
= GLOBAL_VAR(tls_certfile
),
4354 .label
= "tls cafile",
4356 .p_class
= P_GLOBAL
,
4357 .offset
= GLOBAL_VAR(tls_cafile
),
4362 .label
= "tls crlfile",
4364 .p_class
= P_GLOBAL
,
4365 .offset
= GLOBAL_VAR(tls_crlfile
),
4370 .label
= "tls dh params file",
4372 .p_class
= P_GLOBAL
,
4373 .offset
= GLOBAL_VAR(tls_dhpfile
),
4378 {NULL
, P_BOOL
, P_NONE
, 0, NULL
, NULL
, 0}