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_02
, "SMB3_02"},
34 {PROTOCOL_SMB3_00
, "SMB3_00"},
35 {PROTOCOL_SMB2_24
, "SMB2_24"},
36 {PROTOCOL_SMB2_22
, "SMB2_22"},
37 {PROTOCOL_SMB2_10
, "SMB2_10"},
38 {PROTOCOL_SMB2_02
, "SMB2_02"},
39 {PROTOCOL_NT1
, "NT1"},
40 {PROTOCOL_LANMAN2
, "LANMAN2"},
41 {PROTOCOL_LANMAN1
, "LANMAN1"},
42 {PROTOCOL_CORE
, "CORE"},
43 {PROTOCOL_COREPLUS
, "COREPLUS"},
44 {PROTOCOL_COREPLUS
, "CORE+"},
48 static const struct enum_list enum_security
[] = {
51 {SEC_DOMAIN
, "DOMAIN"},
56 static const struct enum_list enum_bool_auto
[] = {
67 static const struct enum_list enum_csc_policy
[] = {
68 {CSC_POLICY_MANUAL
, "manual"},
69 {CSC_POLICY_DOCUMENTS
, "documents"},
70 {CSC_POLICY_PROGRAMS
, "programs"},
71 {CSC_POLICY_DISABLE
, "disable"},
75 /* Server role options */
76 static const struct enum_list enum_server_role
[] = {
78 {ROLE_STANDALONE
, "standalone server"},
79 {ROLE_STANDALONE
, "standalone"},
80 {ROLE_DOMAIN_MEMBER
, "member server"},
81 {ROLE_DOMAIN_MEMBER
, "member"},
82 {ROLE_DOMAIN_PDC
, "classic primary domain controller"},
83 {ROLE_DOMAIN_BDC
, "classic backup domain controller"},
84 {ROLE_ACTIVE_DIRECTORY_DC
, "active directory domain controller"},
85 {ROLE_ACTIVE_DIRECTORY_DC
, "domain controller"},
86 {ROLE_ACTIVE_DIRECTORY_DC
, "dc"},
90 /* SMB signing types. */
91 static const struct enum_list enum_smb_signing_vals
[] = {
92 {SMB_SIGNING_DEFAULT
, "default"},
93 {SMB_SIGNING_OFF
, "No"},
94 {SMB_SIGNING_OFF
, "False"},
95 {SMB_SIGNING_OFF
, "0"},
96 {SMB_SIGNING_OFF
, "Off"},
97 {SMB_SIGNING_OFF
, "disabled"},
98 {SMB_SIGNING_IF_REQUIRED
, "if_required"},
99 {SMB_SIGNING_IF_REQUIRED
, "Yes"},
100 {SMB_SIGNING_IF_REQUIRED
, "True"},
101 {SMB_SIGNING_IF_REQUIRED
, "1"},
102 {SMB_SIGNING_IF_REQUIRED
, "On"},
103 {SMB_SIGNING_IF_REQUIRED
, "enabled"},
104 {SMB_SIGNING_IF_REQUIRED
, "auto"},
105 {SMB_SIGNING_REQUIRED
, "required"},
106 {SMB_SIGNING_REQUIRED
, "mandatory"},
107 {SMB_SIGNING_REQUIRED
, "force"},
108 {SMB_SIGNING_REQUIRED
, "forced"},
109 {SMB_SIGNING_REQUIRED
, "enforced"},
113 /* DNS update options. */
114 static const struct enum_list enum_dns_update_settings
[] = {
115 {DNS_UPDATE_OFF
, "disabled"},
116 {DNS_UPDATE_OFF
, "No"},
117 {DNS_UPDATE_OFF
, "False"},
118 {DNS_UPDATE_OFF
, "0"},
119 {DNS_UPDATE_OFF
, "Off"},
120 {DNS_UPDATE_ON
, "nonsecure and secure"},
121 {DNS_UPDATE_ON
, "nonsecure"},
122 {DNS_UPDATE_SIGNED
, "secure only"},
123 {DNS_UPDATE_SIGNED
, "secure"},
124 {DNS_UPDATE_SIGNED
, "signed"},
129 Do you want session setups at user level security with a invalid
130 password to be rejected or allowed in as guest? WinNT rejects them
131 but it can be a pain as it means "net view" needs to use a password
133 You have 3 choices in the setting of map_to_guest:
135 "Never" means session setups with an invalid password
136 are rejected. This is the default.
138 "Bad User" means session setups with an invalid password
139 are rejected, unless the username does not exist, in which case it
140 is treated as a guest login
142 "Bad Password" means session setups with an invalid password
143 are treated as a guest login
145 Note that map_to_guest only has an effect in user or server
149 static const struct enum_list enum_map_to_guest
[] = {
150 {NEVER_MAP_TO_GUEST
, "Never"},
151 {MAP_TO_GUEST_ON_BAD_USER
, "Bad User"},
152 {MAP_TO_GUEST_ON_BAD_PASSWORD
, "Bad Password"},
153 {MAP_TO_GUEST_ON_BAD_UID
, "Bad Uid"},
157 /* Config backend options */
159 static const struct enum_list enum_config_backend
[] = {
160 {CONFIG_BACKEND_FILE
, "file"},
161 {CONFIG_BACKEND_REGISTRY
, "registry"},
166 /* ADS kerberos ticket verification options */
168 static const struct enum_list enum_kerberos_method
[] = {
169 {KERBEROS_VERIFY_SECRETS
, "default"},
170 {KERBEROS_VERIFY_SECRETS
, "secrets only"},
171 {KERBEROS_VERIFY_SYSTEM_KEYTAB
, "system keytab"},
172 {KERBEROS_VERIFY_DEDICATED_KEYTAB
, "dedicated keytab"},
173 {KERBEROS_VERIFY_SECRETS_AND_KEYTAB
, "secrets and keytab"},
177 static const struct enum_list enum_printing
[] = {
178 {PRINT_SYSV
, "sysv"},
180 {PRINT_HPUX
, "hpux"},
184 {PRINT_LPRNG
, "lprng"},
186 {PRINT_CUPS
, "cups"},
189 {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(path
),
316 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
319 .label
= "directory",
322 .offset
= LOCAL_VAR(path
),
328 .label
= "workgroup",
331 .offset
= GLOBAL_VAR(workgroup
),
334 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_WIZARD
,
340 .offset
= GLOBAL_VAR(realm_original
),
341 .special
= handle_realm
,
343 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_WIZARD
,
346 .label
= "netbios name",
349 .offset
= GLOBAL_VAR(netbios_name
),
352 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_WIZARD
,
355 .label
= "netbios aliases",
358 .offset
= GLOBAL_VAR(netbios_aliases
),
359 .special
= handle_netbios_aliases
,
361 .flags
= FLAG_ADVANCED
,
364 .label
= "netbios scope",
367 .offset
= GLOBAL_VAR(netbios_scope
),
370 .flags
= FLAG_ADVANCED
,
373 .label
= "server string",
376 .offset
= GLOBAL_VAR(serverstring
),
379 .flags
= FLAG_BASIC
| FLAG_ADVANCED
,
382 .label
= "interfaces",
385 .offset
= GLOBAL_VAR(interfaces
),
388 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_WIZARD
,
391 .label
= "bind interfaces only",
394 .offset
= GLOBAL_VAR(bind_interfaces_only
),
397 .flags
= FLAG_ADVANCED
| FLAG_WIZARD
,
400 .label
= "config backend",
403 .offset
= GLOBAL_VAR(config_backend
),
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(auth_methods
),
436 .flags
= FLAG_ADVANCED
,
439 .label
= "encrypt passwords",
442 .offset
= GLOBAL_VAR(encrypted_passwords
),
445 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_WIZARD
,
448 .label
= "client schannel",
451 .offset
= GLOBAL_VAR(client_schannel
),
453 .enum_list
= enum_bool_auto
,
454 .flags
= FLAG_BASIC
| FLAG_ADVANCED
,
457 .label
= "server schannel",
460 .offset
= GLOBAL_VAR(server_schannel
),
462 .enum_list
= enum_bool_auto
,
463 .flags
= FLAG_BASIC
| FLAG_ADVANCED
,
466 .label
= "allow trusted domains",
469 .offset
= GLOBAL_VAR(allow_trusted_domains
),
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(null_passwords
),
490 .flags
= FLAG_ADVANCED
| FLAG_DEPRECATED
,
493 .label
= "obey pam restrictions",
496 .offset
= GLOBAL_VAR(obey_pam_restrictions
),
499 .flags
= FLAG_ADVANCED
,
502 .label
= "password server",
505 .offset
= GLOBAL_VAR(passwordserver
),
508 .flags
= FLAG_ADVANCED
| FLAG_WIZARD
,
511 .label
= "smb passwd file",
514 .offset
= GLOBAL_VAR(smb_passwd_file
),
517 .flags
= FLAG_ADVANCED
,
520 .label
= "private dir",
523 .offset
= GLOBAL_VAR(private_dir
),
526 .flags
= FLAG_ADVANCED
,
529 .label
= "private directory",
532 .offset
= GLOBAL_VAR(private_dir
),
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(algorithmic_rid_base
),
553 .flags
= FLAG_ADVANCED
,
556 .label
= "root directory",
559 .offset
= GLOBAL_VAR(rootdir
),
562 .flags
= FLAG_ADVANCED
,
568 .offset
= GLOBAL_VAR(rootdir
),
577 .offset
= GLOBAL_VAR(rootdir
),
583 .label
= "guest account",
586 .offset
= GLOBAL_VAR(guestaccount
),
589 .flags
= FLAG_BASIC
| FLAG_ADVANCED
,
592 .label
= "enable privileges",
595 .offset
= GLOBAL_VAR(enable_privileges
),
598 .flags
= FLAG_ADVANCED
| FLAG_DEPRECATED
,
602 .label
= "pam password change",
605 .offset
= GLOBAL_VAR(pam_password_change
),
608 .flags
= FLAG_ADVANCED
,
611 .label
= "passwd program",
614 .offset
= GLOBAL_VAR(passwd_program
),
617 .flags
= FLAG_ADVANCED
,
620 .label
= "passwd chat",
623 .offset
= GLOBAL_VAR(passwd_chat
),
626 .flags
= FLAG_ADVANCED
,
629 .label
= "passwd chat debug",
632 .offset
= GLOBAL_VAR(passwd_chat_debug
),
635 .flags
= FLAG_ADVANCED
,
638 .label
= "passwd chat timeout",
641 .offset
= GLOBAL_VAR(passwd_chat_timeout
),
644 .flags
= FLAG_ADVANCED
,
647 .label
= "check password script",
650 .offset
= GLOBAL_VAR(check_password_script
),
653 .flags
= FLAG_ADVANCED
,
656 .label
= "username map",
659 .offset
= GLOBAL_VAR(username_map
),
662 .flags
= FLAG_ADVANCED
,
665 .label
= "username level",
668 .offset
= GLOBAL_VAR(usernamelevel
),
671 .flags
= FLAG_ADVANCED
,
674 .label
= "unix password sync",
677 .offset
= GLOBAL_VAR(unix_password_sync
),
680 .flags
= FLAG_ADVANCED
,
683 .label
= "restrict anonymous",
686 .offset
= GLOBAL_VAR(restrict_anonymous
),
689 .flags
= FLAG_ADVANCED
,
692 .label
= "lanman auth",
695 .offset
= GLOBAL_VAR(lanman_auth
),
698 .flags
= FLAG_ADVANCED
,
701 .label
= "ntlm auth",
704 .offset
= GLOBAL_VAR(ntlm_auth
),
707 .flags
= FLAG_ADVANCED
,
710 .label
= "client NTLMv2 auth",
713 .offset
= GLOBAL_VAR(client_ntlmv2_auth
),
716 .flags
= FLAG_ADVANCED
,
719 .label
= "client lanman auth",
722 .offset
= GLOBAL_VAR(client_lanman_auth
),
725 .flags
= FLAG_ADVANCED
,
728 .label
= "client plaintext auth",
731 .offset
= GLOBAL_VAR(client_plaintext_auth
),
734 .flags
= FLAG_ADVANCED
,
737 .label
= "client use spnego principal",
740 .offset
= GLOBAL_VAR(client_use_spnego_principal
),
743 .flags
= FLAG_ADVANCED
,
749 .offset
= LOCAL_VAR(username
),
752 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
| FLAG_DEPRECATED
,
758 .offset
= LOCAL_VAR(username
),
767 .offset
= LOCAL_VAR(username
),
773 .label
= "invalid users",
776 .offset
= LOCAL_VAR(invalid_users
),
779 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
782 .label
= "valid users",
785 .offset
= LOCAL_VAR(valid_users
),
788 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
791 .label
= "admin users",
794 .offset
= LOCAL_VAR(admin_users
),
797 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
800 .label
= "read list",
803 .offset
= LOCAL_VAR(readlist
),
806 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
809 .label
= "write list",
812 .offset
= LOCAL_VAR(writelist
),
815 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
818 .label
= "force user",
821 .offset
= LOCAL_VAR(force_user
),
824 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
827 .label
= "force group",
830 .offset
= LOCAL_VAR(force_group
),
833 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
839 .offset
= LOCAL_VAR(force_group
),
842 .flags
= FLAG_ADVANCED
,
845 .label
= "read only",
848 .offset
= LOCAL_VAR(read_only
),
851 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_SHARE
,
857 .offset
= LOCAL_VAR(read_only
),
863 .label
= "writeable",
866 .offset
= LOCAL_VAR(read_only
),
875 .offset
= LOCAL_VAR(read_only
),
881 .label
= "acl check permissions",
884 .offset
= LOCAL_VAR(acl_check_permissions
),
887 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
| FLAG_DEPRECATED
,
890 .label
= "acl group control",
893 .offset
= LOCAL_VAR(acl_group_control
),
896 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
899 .label
= "acl map full control",
902 .offset
= LOCAL_VAR(acl_map_full_control
),
905 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
908 .label
= "acl allow execute always",
911 .offset
= LOCAL_VAR(acl_allow_execute_always
),
914 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
918 .label
= "create mask",
921 .offset
= LOCAL_VAR(create_mask
),
924 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
927 .label
= "create mode",
930 .offset
= LOCAL_VAR(create_mask
),
936 .label
= "force create mode",
939 .offset
= LOCAL_VAR(force_create_mode
),
942 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
945 .label
= "directory mask",
948 .offset
= LOCAL_VAR(directory_mask
),
951 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
954 .label
= "directory mode",
957 .offset
= LOCAL_VAR(directory_mask
),
960 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
963 .label
= "force directory mode",
966 .offset
= LOCAL_VAR(force_dir_mode
),
969 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
972 .label
= "force unknown acl user",
975 .offset
= LOCAL_VAR(force_unknown_acl_user
),
978 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
981 .label
= "inherit permissions",
984 .offset
= LOCAL_VAR(inherit_perms
),
987 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
990 .label
= "inherit acls",
993 .offset
= LOCAL_VAR(inherit_acls
),
996 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
999 .label
= "inherit owner",
1002 .offset
= LOCAL_VAR(inherit_owner
),
1005 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1008 .label
= "guest only",
1011 .offset
= LOCAL_VAR(guest_only
),
1014 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1017 .label
= "only guest",
1020 .offset
= LOCAL_VAR(guest_only
),
1026 .label
= "administrative share",
1029 .offset
= LOCAL_VAR(administrative_share
),
1032 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
1036 .label
= "guest ok",
1039 .offset
= LOCAL_VAR(guest_ok
),
1042 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
1048 .offset
= LOCAL_VAR(guest_ok
),
1054 .label
= "only user",
1057 .offset
= LOCAL_VAR(onlyuser
),
1060 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_DEPRECATED
,
1063 .label
= "hosts allow",
1066 .offset
= LOCAL_VAR(hosts_allow
),
1069 .flags
= FLAG_GLOBAL
| FLAG_BASIC
| FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
1072 .label
= "allow hosts",
1075 .offset
= LOCAL_VAR(hosts_allow
),
1081 .label
= "hosts deny",
1084 .offset
= LOCAL_VAR(hosts_deny
),
1087 .flags
= FLAG_GLOBAL
| FLAG_BASIC
| FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
1090 .label
= "deny hosts",
1093 .offset
= LOCAL_VAR(hosts_deny
),
1099 .label
= "preload modules",
1101 .p_class
= P_GLOBAL
,
1102 .offset
= GLOBAL_VAR(preload_modules
),
1105 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
1108 .label
= "dedicated keytab file",
1110 .p_class
= P_GLOBAL
,
1111 .offset
= GLOBAL_VAR(dedicated_keytab_file
),
1114 .flags
= FLAG_ADVANCED
,
1117 .label
= "kerberos method",
1119 .p_class
= P_GLOBAL
,
1120 .offset
= GLOBAL_VAR(kerberos_method
),
1122 .enum_list
= enum_kerberos_method
,
1123 .flags
= FLAG_ADVANCED
,
1126 .label
= "map untrusted to domain",
1128 .p_class
= P_GLOBAL
,
1129 .offset
= GLOBAL_VAR(map_untrusted_to_domain
),
1132 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
1136 {N_("Logging Options"), P_SEP
, P_SEPARATOR
},
1139 .label
= "log level",
1141 .p_class
= P_GLOBAL
,
1142 .offset
= GLOBAL_VAR(loglevel
),
1143 .special
= handle_debug_list
,
1145 .flags
= FLAG_ADVANCED
,
1148 .label
= "debuglevel",
1150 .p_class
= P_GLOBAL
,
1151 .offset
= GLOBAL_VAR(loglevel
),
1152 .special
= handle_debug_list
,
1159 .p_class
= P_GLOBAL
,
1160 .offset
= GLOBAL_VAR(syslog
),
1163 .flags
= FLAG_ADVANCED
,
1166 .label
= "syslog only",
1168 .p_class
= P_GLOBAL
,
1169 .offset
= GLOBAL_VAR(syslog_only
),
1172 .flags
= FLAG_ADVANCED
,
1175 .label
= "log file",
1177 .p_class
= P_GLOBAL
,
1178 .offset
= GLOBAL_VAR(logfile
),
1179 .special
= handle_logfile
,
1181 .flags
= FLAG_ADVANCED
,
1184 .label
= "max log size",
1186 .p_class
= P_GLOBAL
,
1187 .offset
= GLOBAL_VAR(max_log_size
),
1190 .flags
= FLAG_ADVANCED
,
1193 .label
= "debug timestamp",
1195 .p_class
= P_GLOBAL
,
1196 .offset
= GLOBAL_VAR(timestamp_logs
),
1199 .flags
= FLAG_ADVANCED
,
1202 .label
= "timestamp logs",
1204 .p_class
= P_GLOBAL
,
1205 .offset
= GLOBAL_VAR(timestamp_logs
),
1208 .flags
= FLAG_ADVANCED
,
1211 .label
= "debug prefix timestamp",
1213 .p_class
= P_GLOBAL
,
1214 .offset
= GLOBAL_VAR(debug_prefix_timestamp
),
1217 .flags
= FLAG_ADVANCED
,
1220 .label
= "debug hires timestamp",
1222 .p_class
= P_GLOBAL
,
1223 .offset
= GLOBAL_VAR(debug_hires_timestamp
),
1226 .flags
= FLAG_ADVANCED
,
1229 .label
= "debug pid",
1231 .p_class
= P_GLOBAL
,
1232 .offset
= GLOBAL_VAR(debug_pid
),
1235 .flags
= FLAG_ADVANCED
,
1238 .label
= "debug uid",
1240 .p_class
= P_GLOBAL
,
1241 .offset
= GLOBAL_VAR(debug_uid
),
1244 .flags
= FLAG_ADVANCED
,
1247 .label
= "debug class",
1249 .p_class
= P_GLOBAL
,
1250 .offset
= GLOBAL_VAR(debug_class
),
1253 .flags
= FLAG_ADVANCED
,
1256 .label
= "enable core files",
1258 .p_class
= P_GLOBAL
,
1259 .offset
= GLOBAL_VAR(enable_core_files
),
1262 .flags
= FLAG_ADVANCED
,
1265 {N_("Protocol Options"), P_SEP
, P_SEPARATOR
},
1268 .label
= "allocation roundup size",
1271 .offset
= LOCAL_VAR(allocation_roundup_size
),
1274 .flags
= FLAG_ADVANCED
,
1277 .label
= "aio read size",
1280 .offset
= LOCAL_VAR(aio_read_size
),
1283 .flags
= FLAG_ADVANCED
,
1286 .label
= "aio write size",
1289 .offset
= LOCAL_VAR(aio_write_size
),
1292 .flags
= FLAG_ADVANCED
,
1295 .label
= "aio write behind",
1298 .offset
= LOCAL_VAR(aio_write_behind
),
1301 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
1304 .label
= "smb ports",
1306 .p_class
= P_GLOBAL
,
1307 .offset
= GLOBAL_VAR(smb_ports
),
1310 .flags
= FLAG_ADVANCED
,
1313 .label
= "large readwrite",
1315 .p_class
= P_GLOBAL
,
1316 .offset
= GLOBAL_VAR(large_readwrite
),
1319 .flags
= FLAG_ADVANCED
,
1322 .label
= "server max protocol",
1324 .p_class
= P_GLOBAL
,
1325 .offset
= GLOBAL_VAR(srv_maxprotocol
),
1327 .enum_list
= enum_protocol
,
1328 .flags
= FLAG_ADVANCED
,
1331 .label
= "max protocol",
1333 .p_class
= P_GLOBAL
,
1334 .offset
= GLOBAL_VAR(srv_maxprotocol
),
1336 .enum_list
= enum_protocol
,
1337 .flags
= FLAG_ADVANCED
,
1340 .label
= "protocol",
1342 .p_class
= P_GLOBAL
,
1343 .offset
= GLOBAL_VAR(srv_maxprotocol
),
1345 .enum_list
= enum_protocol
,
1346 .flags
= FLAG_ADVANCED
,
1349 .label
= "server min protocol",
1351 .p_class
= P_GLOBAL
,
1352 .offset
= GLOBAL_VAR(srv_minprotocol
),
1354 .enum_list
= enum_protocol
,
1355 .flags
= FLAG_ADVANCED
,
1358 .label
= "min protocol",
1360 .p_class
= P_GLOBAL
,
1361 .offset
= GLOBAL_VAR(srv_minprotocol
),
1363 .enum_list
= enum_protocol
,
1364 .flags
= FLAG_ADVANCED
,
1367 .label
= "client max protocol",
1369 .p_class
= P_GLOBAL
,
1370 .offset
= GLOBAL_VAR(cli_maxprotocol
),
1372 .enum_list
= enum_protocol
,
1373 .flags
= FLAG_ADVANCED
,
1376 .label
= "client min protocol",
1378 .p_class
= P_GLOBAL
,
1379 .offset
= GLOBAL_VAR(cli_minprotocol
),
1381 .enum_list
= enum_protocol
,
1382 .flags
= FLAG_ADVANCED
,
1387 .p_class
= P_GLOBAL
,
1388 .offset
= GLOBAL_VAR(unicode
),
1393 .label
= "min receivefile size",
1395 .p_class
= P_GLOBAL
,
1396 .offset
= GLOBAL_VAR(iminreceivefile
),
1399 .flags
= FLAG_ADVANCED
,
1402 .label
= "read raw",
1404 .p_class
= P_GLOBAL
,
1405 .offset
= GLOBAL_VAR(bReadRaw
),
1408 .flags
= FLAG_ADVANCED
,
1411 .label
= "write raw",
1413 .p_class
= P_GLOBAL
,
1414 .offset
= GLOBAL_VAR(bWriteRaw
),
1417 .flags
= FLAG_ADVANCED
,
1420 .label
= "disable netbios",
1422 .p_class
= P_GLOBAL
,
1423 .offset
= GLOBAL_VAR(disable_netbios
),
1426 .flags
= FLAG_ADVANCED
,
1429 .label
= "reset on zero vc",
1431 .p_class
= P_GLOBAL
,
1432 .offset
= GLOBAL_VAR(reset_on_zero_vc
),
1435 .flags
= FLAG_ADVANCED
,
1438 .label
= "log writeable files on exit",
1440 .p_class
= P_GLOBAL
,
1441 .offset
= GLOBAL_VAR(log_writeable_files_on_exit
),
1444 .flags
= FLAG_ADVANCED
,
1447 .label
= "defer sharing violations",
1449 .p_class
= P_GLOBAL
,
1450 .offset
= GLOBAL_VAR(defer_sharing_violations
),
1453 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
1456 .label
= "ea support",
1459 .offset
= LOCAL_VAR(ea_support
),
1462 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
1465 .label
= "nt acl support",
1468 .offset
= LOCAL_VAR(nt_acl_support
),
1471 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
1474 .label
= "nt pipe support",
1476 .p_class
= P_GLOBAL
,
1477 .offset
= GLOBAL_VAR(nt_pipe_support
),
1480 .flags
= FLAG_ADVANCED
,
1483 .label
= "nt status support",
1485 .p_class
= P_GLOBAL
,
1486 .offset
= GLOBAL_VAR(nt_status_support
),
1489 .flags
= FLAG_ADVANCED
,
1492 .label
= "profile acls",
1495 .offset
= LOCAL_VAR(profile_acls
),
1498 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
1501 .label
= "map acl inherit",
1504 .offset
= LOCAL_VAR(map_acl_inherit
),
1507 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
1510 .label
= "afs share",
1513 .offset
= LOCAL_VAR(afs_share
),
1516 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
1521 .p_class
= P_GLOBAL
,
1522 .offset
= GLOBAL_VAR(maxmux
),
1525 .flags
= FLAG_ADVANCED
,
1528 .label
= "max xmit",
1530 .p_class
= P_GLOBAL
,
1531 .offset
= GLOBAL_VAR(max_xmit
),
1534 .flags
= FLAG_ADVANCED
,
1537 .label
= "name resolve order",
1539 .p_class
= P_GLOBAL
,
1540 .offset
= GLOBAL_VAR(name_resolve_order
),
1543 .flags
= FLAG_ADVANCED
| FLAG_WIZARD
,
1548 .p_class
= P_GLOBAL
,
1549 .offset
= GLOBAL_VAR(max_ttl
),
1552 .flags
= FLAG_ADVANCED
,
1555 .label
= "max wins ttl",
1557 .p_class
= P_GLOBAL
,
1558 .offset
= GLOBAL_VAR(max_wins_ttl
),
1561 .flags
= FLAG_ADVANCED
,
1564 .label
= "min wins ttl",
1566 .p_class
= P_GLOBAL
,
1567 .offset
= GLOBAL_VAR(min_wins_ttl
),
1570 .flags
= FLAG_ADVANCED
,
1573 .label
= "time server",
1575 .p_class
= P_GLOBAL
,
1576 .offset
= GLOBAL_VAR(time_server
),
1579 .flags
= FLAG_ADVANCED
,
1582 .label
= "unix extensions",
1584 .p_class
= P_GLOBAL
,
1585 .offset
= GLOBAL_VAR(unix_extensions
),
1588 .flags
= FLAG_ADVANCED
,
1591 .label
= "use spnego",
1593 .p_class
= P_GLOBAL
,
1594 .offset
= GLOBAL_VAR(use_spnego
),
1597 .flags
= FLAG_ADVANCED
| FLAG_DEPRECATED
,
1600 .label
= "client signing",
1602 .p_class
= P_GLOBAL
,
1603 .offset
= GLOBAL_VAR(client_signing
),
1605 .enum_list
= enum_smb_signing_vals
,
1606 .flags
= FLAG_ADVANCED
,
1609 .label
= "server signing",
1611 .p_class
= P_GLOBAL
,
1612 .offset
= GLOBAL_VAR(server_signing
),
1614 .enum_list
= enum_smb_signing_vals
,
1615 .flags
= FLAG_ADVANCED
,
1618 .label
= "smb encrypt",
1621 .offset
= LOCAL_VAR(smb_encrypt
),
1623 .enum_list
= enum_smb_signing_vals
,
1624 .flags
= FLAG_ADVANCED
,
1627 .label
= "client use spnego",
1629 .p_class
= P_GLOBAL
,
1630 .offset
= GLOBAL_VAR(client_use_spnego
),
1633 .flags
= FLAG_ADVANCED
,
1636 .label
= "client ldap sasl wrapping",
1638 .p_class
= P_GLOBAL
,
1639 .offset
= GLOBAL_VAR(client_ldap_sasl_wrapping
),
1641 .enum_list
= enum_ldap_sasl_wrapping
,
1642 .flags
= FLAG_ADVANCED
,
1645 .label
= "enable asu support",
1647 .p_class
= P_GLOBAL
,
1648 .offset
= GLOBAL_VAR(enable_asu_support
),
1651 .flags
= FLAG_ADVANCED
,
1654 .label
= "svcctl list",
1656 .p_class
= P_GLOBAL
,
1657 .offset
= GLOBAL_VAR(svcctl_list
),
1660 .flags
= FLAG_ADVANCED
,
1663 .label
= "cldap port",
1665 .p_class
= P_GLOBAL
,
1666 .offset
= GLOBAL_VAR(cldap_port
),
1671 .label
= "dgram port",
1673 .p_class
= P_GLOBAL
,
1674 .offset
= GLOBAL_VAR(dgram_port
),
1679 .label
= "nbt port",
1681 .p_class
= P_GLOBAL
,
1682 .offset
= GLOBAL_VAR(nbt_port
),
1687 .label
= "krb5 port",
1689 .p_class
= P_GLOBAL
,
1690 .offset
= GLOBAL_VAR(krb5_port
),
1695 .label
= "kpasswd port",
1697 .p_class
= P_GLOBAL
,
1698 .offset
= GLOBAL_VAR(kpasswd_port
),
1703 .label
= "web port",
1705 .p_class
= P_GLOBAL
,
1706 .offset
= GLOBAL_VAR(web_port
),
1711 .label
= "rpc big endian",
1713 .p_class
= P_GLOBAL
,
1714 .offset
= GLOBAL_VAR(rpc_big_endian
),
1719 .label
= "durable handles",
1722 .offset
= LOCAL_VAR(durable_handles
),
1725 .flags
= FLAG_ADVANCED
,
1728 {N_("Tuning Options"), P_SEP
, P_SEPARATOR
},
1731 .label
= "block size",
1734 .offset
= LOCAL_VAR(block_size
),
1737 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
1740 .label
= "deadtime",
1742 .p_class
= P_GLOBAL
,
1743 .offset
= GLOBAL_VAR(deadtime
),
1746 .flags
= FLAG_ADVANCED
,
1749 .label
= "getwd cache",
1751 .p_class
= P_GLOBAL
,
1752 .offset
= GLOBAL_VAR(getwd_cache
),
1755 .flags
= FLAG_ADVANCED
,
1758 .label
= "keepalive",
1760 .p_class
= P_GLOBAL
,
1761 .offset
= GLOBAL_VAR(keepalive
),
1764 .flags
= FLAG_ADVANCED
,
1767 .label
= "change notify",
1770 .offset
= LOCAL_VAR(change_notify
),
1773 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1776 .label
= "directory name cache size",
1779 .offset
= LOCAL_VAR(directory_name_cache_size
),
1782 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1785 .label
= "kernel change notify",
1788 .offset
= LOCAL_VAR(kernel_change_notify
),
1791 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1794 .label
= "lpq cache time",
1796 .p_class
= P_GLOBAL
,
1797 .offset
= GLOBAL_VAR(lpqcachetime
),
1800 .flags
= FLAG_ADVANCED
,
1803 .label
= "max smbd processes",
1805 .p_class
= P_GLOBAL
,
1806 .offset
= GLOBAL_VAR(max_smbd_processes
),
1809 .flags
= FLAG_ADVANCED
,
1812 .label
= "max connections",
1815 .offset
= LOCAL_VAR(max_connections
),
1818 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1821 .label
= "max disk size",
1823 .p_class
= P_GLOBAL
,
1824 .offset
= GLOBAL_VAR(maxdisksize
),
1827 .flags
= FLAG_ADVANCED
,
1830 .label
= "max open files",
1832 .p_class
= P_GLOBAL
,
1833 .offset
= GLOBAL_VAR(max_open_files
),
1836 .flags
= FLAG_ADVANCED
,
1839 .label
= "min print space",
1842 .offset
= LOCAL_VAR(minprintspace
),
1845 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
1848 .label
= "socket options",
1850 .p_class
= P_GLOBAL
,
1851 .offset
= GLOBAL_VAR(socket_options
),
1854 .flags
= FLAG_ADVANCED
,
1857 .label
= "strict allocate",
1860 .offset
= LOCAL_VAR(strict_allocate
),
1863 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1866 .label
= "strict sync",
1869 .offset
= LOCAL_VAR(strict_sync
),
1872 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1875 .label
= "sync always",
1878 .offset
= LOCAL_VAR(syncalways
),
1881 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1884 .label
= "use mmap",
1886 .p_class
= P_GLOBAL
,
1887 .offset
= GLOBAL_VAR(use_mmap
),
1890 .flags
= FLAG_ADVANCED
,
1893 .label
= "use ntdb",
1895 .p_class
= P_GLOBAL
,
1896 .offset
= GLOBAL_VAR(use_ntdb
),
1899 .flags
= FLAG_ADVANCED
,
1902 .label
= "use sendfile",
1905 .offset
= LOCAL_VAR(_use_sendfile
),
1908 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1911 .label
= "hostname lookups",
1913 .p_class
= P_GLOBAL
,
1914 .offset
= GLOBAL_VAR(hostname_lookups
),
1917 .flags
= FLAG_ADVANCED
,
1920 .label
= "write cache size",
1923 .offset
= LOCAL_VAR(write_cache_size
),
1926 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
1929 .label
= "name cache timeout",
1931 .p_class
= P_GLOBAL
,
1932 .offset
= GLOBAL_VAR(name_cache_timeout
),
1935 .flags
= FLAG_ADVANCED
,
1938 .label
= "ctdbd socket",
1940 .p_class
= P_GLOBAL
,
1941 .offset
= GLOBAL_VAR(ctdbd_socket
),
1944 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
1947 .label
= "cluster addresses",
1949 .p_class
= P_GLOBAL
,
1950 .offset
= GLOBAL_VAR(cluster_addresses
),
1953 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
1956 .label
= "clustering",
1958 .p_class
= P_GLOBAL
,
1959 .offset
= GLOBAL_VAR(clustering
),
1962 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
1965 .label
= "ctdb timeout",
1967 .p_class
= P_GLOBAL
,
1968 .offset
= GLOBAL_VAR(ctdb_timeout
),
1971 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
1974 .label
= "ctdb locktime warn threshold",
1976 .p_class
= P_GLOBAL
,
1977 .offset
= GLOBAL_VAR(ctdb_locktime_warn_threshold
),
1980 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
1983 .label
= "smb2 max read",
1985 .p_class
= P_GLOBAL
,
1986 .offset
= GLOBAL_VAR(smb2_max_read
),
1989 .flags
= FLAG_ADVANCED
,
1992 .label
= "smb2 max write",
1994 .p_class
= P_GLOBAL
,
1995 .offset
= GLOBAL_VAR(smb2_max_write
),
1998 .flags
= FLAG_ADVANCED
,
2001 .label
= "smb2 max trans",
2003 .p_class
= P_GLOBAL
,
2004 .offset
= GLOBAL_VAR(smb2_max_trans
),
2007 .flags
= FLAG_ADVANCED
,
2010 .label
= "smb2 max credits",
2012 .p_class
= P_GLOBAL
,
2013 .offset
= GLOBAL_VAR(ismb2_max_credits
),
2016 .flags
= FLAG_ADVANCED
,
2019 {N_("Printing Options"), P_SEP
, P_SEPARATOR
},
2022 .label
= "max reported print jobs",
2025 .offset
= LOCAL_VAR(max_reported_jobs
),
2028 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2031 .label
= "max print jobs",
2034 .offset
= LOCAL_VAR(iMaxPrintJobs
),
2037 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2040 .label
= "load printers",
2042 .p_class
= P_GLOBAL
,
2043 .offset
= GLOBAL_VAR(load_printers
),
2046 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2049 .label
= "printcap cache time",
2051 .p_class
= P_GLOBAL
,
2052 .offset
= GLOBAL_VAR(printcap_cache_time
),
2055 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2058 .label
= "printcap name",
2060 .p_class
= P_GLOBAL
,
2061 .offset
= GLOBAL_VAR(szPrintcapname
),
2064 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2067 .label
= "printcap",
2069 .p_class
= P_GLOBAL
,
2070 .offset
= GLOBAL_VAR(szPrintcapname
),
2076 .label
= "printable",
2079 .offset
= LOCAL_VAR(printable
),
2082 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2085 .label
= "print notify backchannel",
2088 .offset
= LOCAL_VAR(print_notify_backchannel
),
2091 .flags
= FLAG_ADVANCED
,
2094 .label
= "print ok",
2097 .offset
= LOCAL_VAR(printable
),
2103 .label
= "printing",
2106 .offset
= LOCAL_VAR(printing
),
2107 .special
= handle_printing
,
2108 .enum_list
= enum_printing
,
2109 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2112 .label
= "cups options",
2115 .offset
= LOCAL_VAR(cups_options
),
2118 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2121 .label
= "cups server",
2123 .p_class
= P_GLOBAL
,
2124 .offset
= GLOBAL_VAR(cups_server
),
2127 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2130 .label
= "cups encrypt",
2132 .p_class
= P_GLOBAL
,
2133 .offset
= GLOBAL_VAR(CupsEncrypt
),
2135 .enum_list
= enum_bool_auto
,
2136 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2140 .label
= "cups connection timeout",
2142 .p_class
= P_GLOBAL
,
2143 .offset
= GLOBAL_VAR(cups_connection_timeout
),
2146 .flags
= FLAG_ADVANCED
,
2149 .label
= "iprint server",
2151 .p_class
= P_GLOBAL
,
2152 .offset
= GLOBAL_VAR(iprint_server
),
2155 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2158 .label
= "print command",
2161 .offset
= LOCAL_VAR(printcommand
),
2164 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2167 .label
= "disable spoolss",
2169 .p_class
= P_GLOBAL
,
2170 .offset
= GLOBAL_VAR(_disable_spoolss
),
2173 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2176 .label
= "enable spoolss",
2178 .p_class
= P_GLOBAL
,
2179 .offset
= GLOBAL_VAR(_disable_spoolss
),
2185 .label
= "lpq command",
2188 .offset
= LOCAL_VAR(lpqcommand
),
2191 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2194 .label
= "lprm command",
2197 .offset
= LOCAL_VAR(lprmcommand
),
2200 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2203 .label
= "lppause command",
2206 .offset
= LOCAL_VAR(lppausecommand
),
2209 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2212 .label
= "lpresume command",
2215 .offset
= LOCAL_VAR(lpresumecommand
),
2218 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2221 .label
= "queuepause command",
2224 .offset
= LOCAL_VAR(queuepausecommand
),
2227 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2230 .label
= "queueresume command",
2233 .offset
= LOCAL_VAR(queueresumecommand
),
2236 .flags
= FLAG_ADVANCED
| FLAG_PRINT
| FLAG_GLOBAL
,
2239 .label
= "addport command",
2241 .p_class
= P_GLOBAL
,
2242 .offset
= GLOBAL_VAR(addport_cmd
),
2245 .flags
= FLAG_ADVANCED
,
2248 .label
= "enumports command",
2250 .p_class
= P_GLOBAL
,
2251 .offset
= GLOBAL_VAR(enumports_cmd
),
2254 .flags
= FLAG_ADVANCED
,
2257 .label
= "addprinter command",
2259 .p_class
= P_GLOBAL
,
2260 .offset
= GLOBAL_VAR(addprinter_cmd
),
2263 .flags
= FLAG_ADVANCED
,
2266 .label
= "deleteprinter command",
2268 .p_class
= P_GLOBAL
,
2269 .offset
= GLOBAL_VAR(deleteprinter_cmd
),
2272 .flags
= FLAG_ADVANCED
,
2275 .label
= "show add printer wizard",
2277 .p_class
= P_GLOBAL
,
2278 .offset
= GLOBAL_VAR(ms_add_printer_wizard
),
2281 .flags
= FLAG_ADVANCED
,
2284 .label
= "os2 driver map",
2286 .p_class
= P_GLOBAL
,
2287 .offset
= GLOBAL_VAR(os2_driver_map
),
2290 .flags
= FLAG_ADVANCED
,
2294 .label
= "printer name",
2297 .offset
= LOCAL_VAR(_printername
),
2300 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2306 .offset
= LOCAL_VAR(_printername
),
2312 .label
= "use client driver",
2315 .offset
= LOCAL_VAR(use_client_driver
),
2318 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2321 .label
= "default devmode",
2324 .offset
= LOCAL_VAR(default_devmode
),
2327 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2330 .label
= "force printername",
2333 .offset
= LOCAL_VAR(force_printername
),
2336 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2339 .label
= "printjob username",
2342 .offset
= LOCAL_VAR(printjob_username
),
2345 .flags
= FLAG_ADVANCED
| FLAG_PRINT
,
2348 {N_("Filename Handling"), P_SEP
, P_SEPARATOR
},
2351 .label
= "mangling method",
2353 .p_class
= P_GLOBAL
,
2354 .offset
= GLOBAL_VAR(mangling_method
),
2357 .flags
= FLAG_ADVANCED
,
2360 .label
= "mangle prefix",
2362 .p_class
= P_GLOBAL
,
2363 .offset
= GLOBAL_VAR(mangle_prefix
),
2366 .flags
= FLAG_ADVANCED
,
2370 .label
= "default case",
2373 .offset
= LOCAL_VAR(defaultcase
),
2375 .enum_list
= enum_case
,
2376 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
2379 .label
= "case sensitive",
2382 .offset
= LOCAL_VAR(casesensitive
),
2384 .enum_list
= enum_bool_auto
,
2385 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2388 .label
= "casesignames",
2391 .offset
= LOCAL_VAR(casesensitive
),
2393 .enum_list
= enum_bool_auto
,
2394 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
| FLAG_HIDE
,
2397 .label
= "preserve case",
2400 .offset
= LOCAL_VAR(preservecase
),
2403 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2406 .label
= "short preserve case",
2409 .offset
= LOCAL_VAR(shortpreservecase
),
2412 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2415 .label
= "mangling char",
2418 .offset
= LOCAL_VAR(magicchar
),
2421 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2424 .label
= "hide dot files",
2427 .offset
= LOCAL_VAR(hide_dot_files
),
2430 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2433 .label
= "hide special files",
2436 .offset
= LOCAL_VAR(hide_special_files
),
2439 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2442 .label
= "hide unreadable",
2445 .offset
= LOCAL_VAR(hideunreadable
),
2448 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2451 .label
= "hide unwriteable files",
2454 .offset
= LOCAL_VAR(hideunwriteable_files
),
2457 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2460 .label
= "delete veto files",
2463 .offset
= LOCAL_VAR(recursive_veto_delete
),
2466 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2469 .label
= "veto files",
2472 .offset
= LOCAL_VAR(veto_files
),
2475 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2478 .label
= "hide files",
2481 .offset
= LOCAL_VAR(hide_files
),
2484 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2487 .label
= "veto oplock files",
2490 .offset
= LOCAL_VAR(veto_oplocks
),
2493 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2496 .label
= "map archive",
2499 .offset
= LOCAL_VAR(map_archive
),
2502 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2505 .label
= "map hidden",
2508 .offset
= LOCAL_VAR(map_hidden
),
2511 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2514 .label
= "map system",
2517 .offset
= LOCAL_VAR(map_system
),
2520 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2523 .label
= "map readonly",
2526 .offset
= LOCAL_VAR(map_readonly
),
2528 .enum_list
= enum_map_readonly
,
2529 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2532 .label
= "mangled names",
2535 .offset
= LOCAL_VAR(manglednames
),
2538 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2541 .label
= "max stat cache size",
2543 .p_class
= P_GLOBAL
,
2544 .offset
= GLOBAL_VAR(max_stat_cache_size
),
2547 .flags
= FLAG_ADVANCED
,
2550 .label
= "stat cache",
2552 .p_class
= P_GLOBAL
,
2553 .offset
= GLOBAL_VAR(stat_cache
),
2556 .flags
= FLAG_ADVANCED
,
2559 .label
= "store dos attributes",
2562 .offset
= LOCAL_VAR(store_dos_attributes
),
2565 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2568 .label
= "dmapi support",
2571 .offset
= LOCAL_VAR(dmapi_support
),
2574 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2578 {N_("Domain Options"), P_SEP
, P_SEPARATOR
},
2581 .label
= "machine password timeout",
2583 .p_class
= P_GLOBAL
,
2584 .offset
= GLOBAL_VAR(machine_password_timeout
),
2587 .flags
= FLAG_ADVANCED
| FLAG_WIZARD
,
2590 {N_("Logon Options"), P_SEP
, P_SEPARATOR
},
2593 .label
= "add user script",
2595 .p_class
= P_GLOBAL
,
2596 .offset
= GLOBAL_VAR(adduser_script
),
2599 .flags
= FLAG_ADVANCED
,
2602 .label
= "rename user script",
2604 .p_class
= P_GLOBAL
,
2605 .offset
= GLOBAL_VAR(renameuser_script
),
2608 .flags
= FLAG_ADVANCED
,
2611 .label
= "delete user script",
2613 .p_class
= P_GLOBAL
,
2614 .offset
= GLOBAL_VAR(deluser_script
),
2617 .flags
= FLAG_ADVANCED
,
2620 .label
= "add group script",
2622 .p_class
= P_GLOBAL
,
2623 .offset
= GLOBAL_VAR(addgroup_script
),
2626 .flags
= FLAG_ADVANCED
,
2629 .label
= "delete group script",
2631 .p_class
= P_GLOBAL
,
2632 .offset
= GLOBAL_VAR(delgroup_script
),
2635 .flags
= FLAG_ADVANCED
,
2638 .label
= "add user to group script",
2640 .p_class
= P_GLOBAL
,
2641 .offset
= GLOBAL_VAR(addusertogroup_script
),
2644 .flags
= FLAG_ADVANCED
,
2647 .label
= "delete user from group script",
2649 .p_class
= P_GLOBAL
,
2650 .offset
= GLOBAL_VAR(deluserfromgroup_script
),
2653 .flags
= FLAG_ADVANCED
,
2656 .label
= "set primary group script",
2658 .p_class
= P_GLOBAL
,
2659 .offset
= GLOBAL_VAR(setprimarygroup_script
),
2662 .flags
= FLAG_ADVANCED
,
2665 .label
= "add machine script",
2667 .p_class
= P_GLOBAL
,
2668 .offset
= GLOBAL_VAR(addmachine_script
),
2671 .flags
= FLAG_ADVANCED
,
2674 .label
= "shutdown script",
2676 .p_class
= P_GLOBAL
,
2677 .offset
= GLOBAL_VAR(shutdown_script
),
2680 .flags
= FLAG_ADVANCED
,
2683 .label
= "abort shutdown script",
2685 .p_class
= P_GLOBAL
,
2686 .offset
= GLOBAL_VAR(abort_shutdown_script
),
2689 .flags
= FLAG_ADVANCED
,
2692 .label
= "username map script",
2694 .p_class
= P_GLOBAL
,
2695 .offset
= GLOBAL_VAR(username_map_script
),
2698 .flags
= FLAG_ADVANCED
,
2701 .label
= "username map cache time",
2703 .p_class
= P_GLOBAL
,
2704 .offset
= GLOBAL_VAR(username_map_cache_time
),
2707 .flags
= FLAG_ADVANCED
,
2710 .label
= "logon script",
2712 .p_class
= P_GLOBAL
,
2713 .offset
= GLOBAL_VAR(logon_script
),
2716 .flags
= FLAG_ADVANCED
,
2719 .label
= "logon path",
2721 .p_class
= P_GLOBAL
,
2722 .offset
= GLOBAL_VAR(logon_path
),
2725 .flags
= FLAG_ADVANCED
,
2728 .label
= "logon drive",
2730 .p_class
= P_GLOBAL
,
2731 .offset
= GLOBAL_VAR(logon_drive
),
2734 .flags
= FLAG_ADVANCED
,
2737 .label
= "logon home",
2739 .p_class
= P_GLOBAL
,
2740 .offset
= GLOBAL_VAR(logon_home
),
2743 .flags
= FLAG_ADVANCED
,
2746 .label
= "domain logons",
2748 .p_class
= P_GLOBAL
,
2749 .offset
= GLOBAL_VAR(_domain_logons
),
2752 .flags
= FLAG_ADVANCED
,
2756 .label
= "init logon delayed hosts",
2758 .p_class
= P_GLOBAL
,
2759 .offset
= GLOBAL_VAR(init_logon_delayed_hosts
),
2762 .flags
= FLAG_ADVANCED
,
2766 .label
= "init logon delay",
2768 .p_class
= P_GLOBAL
,
2769 .offset
= GLOBAL_VAR(init_logon_delay
),
2772 .flags
= FLAG_ADVANCED
,
2776 {N_("Browse Options"), P_SEP
, P_SEPARATOR
},
2779 .label
= "os level",
2781 .p_class
= P_GLOBAL
,
2782 .offset
= GLOBAL_VAR(os_level
),
2785 .flags
= FLAG_BASIC
| FLAG_ADVANCED
,
2788 .label
= "lm announce",
2790 .p_class
= P_GLOBAL
,
2791 .offset
= GLOBAL_VAR(lm_announce
),
2793 .enum_list
= enum_bool_auto
,
2794 .flags
= FLAG_ADVANCED
,
2797 .label
= "lm interval",
2799 .p_class
= P_GLOBAL
,
2800 .offset
= GLOBAL_VAR(lm_interval
),
2803 .flags
= FLAG_ADVANCED
,
2806 .label
= "preferred master",
2808 .p_class
= P_GLOBAL
,
2809 .offset
= GLOBAL_VAR(iPreferredMaster
),
2811 .enum_list
= enum_bool_auto
,
2812 .flags
= FLAG_BASIC
| FLAG_ADVANCED
,
2815 .label
= "prefered master",
2817 .p_class
= P_GLOBAL
,
2818 .offset
= GLOBAL_VAR(iPreferredMaster
),
2820 .enum_list
= enum_bool_auto
,
2824 .label
= "local master",
2826 .p_class
= P_GLOBAL
,
2827 .offset
= GLOBAL_VAR(local_master
),
2830 .flags
= FLAG_BASIC
| FLAG_ADVANCED
,
2833 .label
= "domain master",
2835 .p_class
= P_GLOBAL
,
2836 .offset
= GLOBAL_VAR(_domain_master
),
2838 .enum_list
= enum_bool_auto
,
2839 .flags
= FLAG_BASIC
| FLAG_ADVANCED
,
2842 .label
= "browse list",
2844 .p_class
= P_GLOBAL
,
2845 .offset
= GLOBAL_VAR(browse_list
),
2848 .flags
= FLAG_ADVANCED
,
2851 .label
= "browseable",
2854 .offset
= LOCAL_VAR(browseable
),
2857 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
2860 .label
= "browsable",
2863 .offset
= LOCAL_VAR(browseable
),
2869 .label
= "access based share enum",
2872 .offset
= LOCAL_VAR(access_based_share_enum
),
2875 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_SHARE
2878 .label
= "enhanced browsing",
2880 .p_class
= P_GLOBAL
,
2881 .offset
= GLOBAL_VAR(enhanced_browsing
),
2884 .flags
= FLAG_ADVANCED
,
2887 {N_("WINS Options"), P_SEP
, P_SEPARATOR
},
2890 .label
= "dns proxy",
2892 .p_class
= P_GLOBAL
,
2893 .offset
= GLOBAL_VAR(wins_dns_proxy
),
2896 .flags
= FLAG_ADVANCED
,
2899 .label
= "wins proxy",
2901 .p_class
= P_GLOBAL
,
2902 .offset
= GLOBAL_VAR(wins_proxy
),
2905 .flags
= FLAG_ADVANCED
,
2908 .label
= "wins server",
2910 .p_class
= P_GLOBAL
,
2911 .offset
= GLOBAL_VAR(wins_server_list
),
2914 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_WIZARD
,
2917 .label
= "wins support",
2919 .p_class
= P_GLOBAL
,
2920 .offset
= GLOBAL_VAR(we_are_a_wins_server
),
2923 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_WIZARD
,
2926 .label
= "wins hook",
2928 .p_class
= P_GLOBAL
,
2929 .offset
= GLOBAL_VAR(wins_hook
),
2932 .flags
= FLAG_ADVANCED
,
2935 {N_("Locking Options"), P_SEP
, P_SEPARATOR
},
2938 .label
= "blocking locks",
2941 .offset
= LOCAL_VAR(blocking_locks
),
2944 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2947 .label
= "csc policy",
2950 .offset
= LOCAL_VAR(csc_policy
),
2952 .enum_list
= enum_csc_policy
,
2953 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2956 .label
= "fake oplocks",
2959 .offset
= LOCAL_VAR(fake_oplocks
),
2962 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
2965 .label
= "kernel oplocks",
2968 .offset
= LOCAL_VAR(kernel_oplocks
),
2971 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2974 .label
= "kernel share modes",
2977 .offset
= LOCAL_VAR(kernel_share_modes
),
2980 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2986 .offset
= LOCAL_VAR(locking
),
2989 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
2992 .label
= "lock spin time",
2994 .p_class
= P_GLOBAL
,
2995 .offset
= GLOBAL_VAR(lock_spin_time
),
2998 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
3004 .offset
= LOCAL_VAR(oplocks
),
3007 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3010 .label
= "level2 oplocks",
3013 .offset
= LOCAL_VAR(level2_oplocks
),
3016 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3019 .label
= "oplock break wait time",
3021 .p_class
= P_GLOBAL
,
3022 .offset
= GLOBAL_VAR(oplock_break_wait_time
),
3025 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
3028 .label
= "oplock contention limit",
3031 .offset
= LOCAL_VAR(oplock_contention_limit
),
3034 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3037 .label
= "posix locking",
3040 .offset
= LOCAL_VAR(posix_locking
),
3043 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3046 .label
= "strict locking",
3049 .offset
= LOCAL_VAR(strict_locking
),
3051 .enum_list
= enum_bool_auto
,
3052 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3055 {N_("Ldap Options"), P_SEP
, P_SEPARATOR
},
3058 .label
= "ldap admin dn",
3060 .p_class
= P_GLOBAL
,
3061 .offset
= GLOBAL_VAR(ldap_admin_dn
),
3064 .flags
= FLAG_ADVANCED
,
3067 .label
= "ldap delete dn",
3069 .p_class
= P_GLOBAL
,
3070 .offset
= GLOBAL_VAR(ldap_delete_dn
),
3073 .flags
= FLAG_ADVANCED
,
3076 .label
= "ldap group suffix",
3078 .p_class
= P_GLOBAL
,
3079 .offset
= GLOBAL_VAR(szLdapGroupSuffix
),
3082 .flags
= FLAG_ADVANCED
,
3085 .label
= "ldap idmap suffix",
3087 .p_class
= P_GLOBAL
,
3088 .offset
= GLOBAL_VAR(szLdapIdmapSuffix
),
3091 .flags
= FLAG_ADVANCED
,
3094 .label
= "ldap machine suffix",
3096 .p_class
= P_GLOBAL
,
3097 .offset
= GLOBAL_VAR(szLdapMachineSuffix
),
3100 .flags
= FLAG_ADVANCED
,
3103 .label
= "ldap passwd sync",
3105 .p_class
= P_GLOBAL
,
3106 .offset
= GLOBAL_VAR(ldap_passwd_sync
),
3108 .enum_list
= enum_ldap_passwd_sync
,
3109 .flags
= FLAG_ADVANCED
,
3112 .label
= "ldap password sync",
3114 .p_class
= P_GLOBAL
,
3115 .offset
= GLOBAL_VAR(ldap_passwd_sync
),
3117 .enum_list
= enum_ldap_passwd_sync
,
3121 .label
= "ldap replication sleep",
3123 .p_class
= P_GLOBAL
,
3124 .offset
= GLOBAL_VAR(ldap_replication_sleep
),
3127 .flags
= FLAG_ADVANCED
,
3130 .label
= "ldap suffix",
3132 .p_class
= P_GLOBAL
,
3133 .offset
= GLOBAL_VAR(ldap_suffix
),
3136 .flags
= FLAG_ADVANCED
,
3139 .label
= "ldap ssl",
3141 .p_class
= P_GLOBAL
,
3142 .offset
= GLOBAL_VAR(ldap_ssl
),
3144 .enum_list
= enum_ldap_ssl
,
3145 .flags
= FLAG_ADVANCED
,
3148 .label
= "ldap ssl ads",
3150 .p_class
= P_GLOBAL
,
3151 .offset
= GLOBAL_VAR(ldap_ssl_ads
),
3154 .flags
= FLAG_ADVANCED
,
3157 .label
= "ldap deref",
3159 .p_class
= P_GLOBAL
,
3160 .offset
= GLOBAL_VAR(ldap_deref
),
3162 .enum_list
= enum_ldap_deref
,
3163 .flags
= FLAG_ADVANCED
,
3166 .label
= "ldap follow referral",
3168 .p_class
= P_GLOBAL
,
3169 .offset
= GLOBAL_VAR(ldap_follow_referral
),
3171 .enum_list
= enum_bool_auto
,
3172 .flags
= FLAG_ADVANCED
,
3175 .label
= "ldap timeout",
3177 .p_class
= P_GLOBAL
,
3178 .offset
= GLOBAL_VAR(ldap_timeout
),
3181 .flags
= FLAG_ADVANCED
,
3184 .label
= "ldap connection timeout",
3186 .p_class
= P_GLOBAL
,
3187 .offset
= GLOBAL_VAR(ldap_connection_timeout
),
3190 .flags
= FLAG_ADVANCED
,
3193 .label
= "ldap page size",
3195 .p_class
= P_GLOBAL
,
3196 .offset
= GLOBAL_VAR(ldap_page_size
),
3199 .flags
= FLAG_ADVANCED
,
3202 .label
= "ldap user suffix",
3204 .p_class
= P_GLOBAL
,
3205 .offset
= GLOBAL_VAR(szLdapUserSuffix
),
3208 .flags
= FLAG_ADVANCED
,
3211 .label
= "ldap debug level",
3213 .p_class
= P_GLOBAL
,
3214 .offset
= GLOBAL_VAR(ldap_debug_level
),
3215 .special
= handle_ldap_debug_level
,
3217 .flags
= FLAG_ADVANCED
,
3220 .label
= "ldap debug threshold",
3222 .p_class
= P_GLOBAL
,
3223 .offset
= GLOBAL_VAR(ldap_debug_threshold
),
3226 .flags
= FLAG_ADVANCED
,
3229 {N_("EventLog Options"), P_SEP
, P_SEPARATOR
},
3232 .label
= "eventlog list",
3234 .p_class
= P_GLOBAL
,
3235 .offset
= GLOBAL_VAR(eventlog_list
),
3238 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
| FLAG_SHARE
,
3241 {N_("Miscellaneous Options"), P_SEP
, P_SEPARATOR
},
3244 .label
= "add share command",
3246 .p_class
= P_GLOBAL
,
3247 .offset
= GLOBAL_VAR(add_share_cmd
),
3250 .flags
= FLAG_ADVANCED
,
3253 .label
= "change share command",
3255 .p_class
= P_GLOBAL
,
3256 .offset
= GLOBAL_VAR(change_share_cmd
),
3259 .flags
= FLAG_ADVANCED
,
3262 .label
= "delete share command",
3264 .p_class
= P_GLOBAL
,
3265 .offset
= GLOBAL_VAR(delete_share_cmd
),
3268 .flags
= FLAG_ADVANCED
,
3271 .label
= "config file",
3273 .p_class
= P_GLOBAL
,
3274 .offset
= GLOBAL_VAR(szConfigFile
),
3277 .flags
= FLAG_HIDE
|FLAG_META
,
3282 .p_class
= P_GLOBAL
,
3283 .offset
= GLOBAL_VAR(auto_services
),
3286 .flags
= FLAG_ADVANCED
,
3289 .label
= "auto services",
3291 .p_class
= P_GLOBAL
,
3292 .offset
= GLOBAL_VAR(auto_services
),
3295 .flags
= FLAG_ADVANCED
,
3298 .label
= "lock directory",
3300 .p_class
= P_GLOBAL
,
3301 .offset
= GLOBAL_VAR(lockdir
),
3304 .flags
= FLAG_ADVANCED
,
3307 .label
= "lock dir",
3309 .p_class
= P_GLOBAL
,
3310 .offset
= GLOBAL_VAR(lockdir
),
3316 .label
= "state directory",
3318 .p_class
= P_GLOBAL
,
3319 .offset
= GLOBAL_VAR(szStateDir
),
3322 .flags
= FLAG_ADVANCED
,
3325 .label
= "cache directory",
3327 .p_class
= P_GLOBAL
,
3328 .offset
= GLOBAL_VAR(szCacheDir
),
3331 .flags
= FLAG_ADVANCED
,
3334 .label
= "pid directory",
3336 .p_class
= P_GLOBAL
,
3337 .offset
= GLOBAL_VAR(piddir
),
3340 .flags
= FLAG_ADVANCED
,
3343 .label
= "ntp signd socket directory",
3345 .p_class
= P_GLOBAL
,
3346 .offset
= GLOBAL_VAR(ntp_signd_socket_directory
),
3349 .flags
= FLAG_ADVANCED
,
3354 .label
= "utmp directory",
3356 .p_class
= P_GLOBAL
,
3357 .offset
= GLOBAL_VAR(utmpdir
),
3360 .flags
= FLAG_ADVANCED
,
3363 .label
= "wtmp directory",
3365 .p_class
= P_GLOBAL
,
3366 .offset
= GLOBAL_VAR(wtmpdir
),
3369 .flags
= FLAG_ADVANCED
,
3374 .p_class
= P_GLOBAL
,
3375 .offset
= GLOBAL_VAR(utmp
),
3378 .flags
= FLAG_ADVANCED
,
3382 .label
= "default service",
3384 .p_class
= P_GLOBAL
,
3385 .offset
= GLOBAL_VAR(defaultservice
),
3388 .flags
= FLAG_ADVANCED
,
3393 .p_class
= P_GLOBAL
,
3394 .offset
= GLOBAL_VAR(defaultservice
),
3397 .flags
= FLAG_ADVANCED
,
3400 .label
= "message command",
3402 .p_class
= P_GLOBAL
,
3403 .offset
= GLOBAL_VAR(msg_command
),
3406 .flags
= FLAG_ADVANCED
,
3409 .label
= "dfree cache time",
3412 .offset
= LOCAL_VAR(dfree_cache_time
),
3415 .flags
= FLAG_ADVANCED
,
3418 .label
= "dfree command",
3421 .offset
= LOCAL_VAR(dfree_command
),
3424 .flags
= FLAG_ADVANCED
,
3427 .label
= "get quota command",
3429 .p_class
= P_GLOBAL
,
3430 .offset
= GLOBAL_VAR(get_quota_command
),
3433 .flags
= FLAG_ADVANCED
,
3436 .label
= "set quota command",
3438 .p_class
= P_GLOBAL
,
3439 .offset
= GLOBAL_VAR(set_quota_command
),
3442 .flags
= FLAG_ADVANCED
,
3445 .label
= "remote announce",
3447 .p_class
= P_GLOBAL
,
3448 .offset
= GLOBAL_VAR(remote_announce
),
3451 .flags
= FLAG_ADVANCED
,
3454 .label
= "remote browse sync",
3456 .p_class
= P_GLOBAL
,
3457 .offset
= GLOBAL_VAR(remote_browse_sync
),
3460 .flags
= FLAG_ADVANCED
,
3463 .label
= "nbt client socket address",
3465 .p_class
= P_GLOBAL
,
3466 .offset
= GLOBAL_VAR(nbt_client_socket_address
),
3469 .flags
= FLAG_ADVANCED
| FLAG_DEPRECATED
,
3472 .label
= "socket address",
3474 .p_class
= P_GLOBAL
,
3475 .offset
= GLOBAL_VAR(nbt_client_socket_address
),
3478 .flags
= FLAG_ADVANCED
| FLAG_DEPRECATED
,
3481 .label
= "nmbd bind explicit broadcast",
3483 .p_class
= P_GLOBAL
,
3484 .offset
= GLOBAL_VAR(nmbd_bind_explicit_broadcast
),
3487 .flags
= FLAG_ADVANCED
,
3490 .label
= "homedir map",
3492 .p_class
= P_GLOBAL
,
3493 .offset
= GLOBAL_VAR(nis_home_map_name
),
3496 .flags
= FLAG_ADVANCED
,
3499 .label
= "afs username map",
3501 .p_class
= P_GLOBAL
,
3502 .offset
= GLOBAL_VAR(afs_username_map
),
3505 .flags
= FLAG_ADVANCED
,
3508 .label
= "afs token lifetime",
3510 .p_class
= P_GLOBAL
,
3511 .offset
= GLOBAL_VAR(afs_token_lifetime
),
3514 .flags
= FLAG_ADVANCED
,
3517 .label
= "log nt token command",
3519 .p_class
= P_GLOBAL
,
3520 .offset
= GLOBAL_VAR(log_nt_token_command
),
3523 .flags
= FLAG_ADVANCED
,
3526 .label
= "NIS homedir",
3528 .p_class
= P_GLOBAL
,
3529 .offset
= GLOBAL_VAR(nis_home_map
),
3532 .flags
= FLAG_ADVANCED
,
3538 .offset
= LOCAL_VAR(valid
),
3547 .offset
= LOCAL_VAR(szCopy
),
3548 .special
= handle_copy
,
3556 .offset
= LOCAL_VAR(szInclude
),
3557 .special
= handle_include
,
3559 .flags
= FLAG_HIDE
|FLAG_META
,
3565 .offset
= LOCAL_VAR(preexec
),
3568 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
3574 .offset
= LOCAL_VAR(preexec
),
3577 .flags
= FLAG_ADVANCED
,
3580 .label
= "preexec close",
3583 .offset
= LOCAL_VAR(preexec_close
),
3586 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3589 .label
= "postexec",
3592 .offset
= LOCAL_VAR(postexec
),
3595 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
3598 .label
= "root preexec",
3601 .offset
= LOCAL_VAR(rootpreexec
),
3604 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
3607 .label
= "root preexec close",
3610 .offset
= LOCAL_VAR(rootpreexec_close
),
3613 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3616 .label
= "root postexec",
3619 .offset
= LOCAL_VAR(rootpostexec
),
3622 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
3625 .label
= "available",
3628 .offset
= LOCAL_VAR(bAvailable
),
3631 .flags
= FLAG_BASIC
| FLAG_ADVANCED
| FLAG_SHARE
| FLAG_PRINT
,
3634 .label
= "registry shares",
3636 .p_class
= P_GLOBAL
,
3637 .offset
= GLOBAL_VAR(registry_shares
),
3640 .flags
= FLAG_ADVANCED
,
3643 .label
= "usershare allow guests",
3645 .p_class
= P_GLOBAL
,
3646 .offset
= GLOBAL_VAR(usershare_allow_guests
),
3649 .flags
= FLAG_ADVANCED
,
3652 .label
= "usershare max shares",
3654 .p_class
= P_GLOBAL
,
3655 .offset
= GLOBAL_VAR(usershare_max_shares
),
3658 .flags
= FLAG_ADVANCED
,
3661 .label
= "usershare owner only",
3663 .p_class
= P_GLOBAL
,
3664 .offset
= GLOBAL_VAR(usershare_owner_only
),
3667 .flags
= FLAG_ADVANCED
,
3670 .label
= "usershare path",
3672 .p_class
= P_GLOBAL
,
3673 .offset
= GLOBAL_VAR(usershare_path
),
3676 .flags
= FLAG_ADVANCED
,
3679 .label
= "usershare prefix allow list",
3681 .p_class
= P_GLOBAL
,
3682 .offset
= GLOBAL_VAR(usershare_prefix_allow_list
),
3685 .flags
= FLAG_ADVANCED
,
3688 .label
= "usershare prefix deny list",
3690 .p_class
= P_GLOBAL
,
3691 .offset
= GLOBAL_VAR(usershare_prefix_deny_list
),
3694 .flags
= FLAG_ADVANCED
,
3697 .label
= "usershare template share",
3699 .p_class
= P_GLOBAL
,
3700 .offset
= GLOBAL_VAR(szUsershareTemplateShare
),
3703 .flags
= FLAG_ADVANCED
,
3709 .offset
= LOCAL_VAR(volume
),
3712 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3718 .offset
= LOCAL_VAR(fstype
),
3721 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3724 .label
= "allow insecure wide links",
3726 .p_class
= P_GLOBAL
,
3727 .offset
= GLOBAL_VAR(allow_insecure_widelinks
),
3730 .flags
= FLAG_ADVANCED
,
3733 .label
= "wide links",
3736 .offset
= LOCAL_VAR(bWidelinks
),
3739 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3742 .label
= "follow symlinks",
3745 .offset
= LOCAL_VAR(symlinks
),
3748 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3751 .label
= "dont descend",
3754 .offset
= LOCAL_VAR(dontdescend
),
3757 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3760 .label
= "magic script",
3763 .offset
= LOCAL_VAR(magicscript
),
3766 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3769 .label
= "magic output",
3772 .offset
= LOCAL_VAR(magicoutput
),
3775 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3778 .label
= "delete readonly",
3781 .offset
= LOCAL_VAR(delete_readonly
),
3784 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3787 .label
= "dos filemode",
3790 .offset
= LOCAL_VAR(dos_filemode
),
3793 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3796 .label
= "dos filetimes",
3799 .offset
= LOCAL_VAR(dos_filetimes
),
3802 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3805 .label
= "dos filetime resolution",
3808 .offset
= LOCAL_VAR(dos_filetime_resolution
),
3811 .flags
= FLAG_ADVANCED
| FLAG_SHARE
| FLAG_GLOBAL
,
3814 .label
= "fake directory create times",
3817 .offset
= LOCAL_VAR(fake_dir_create_times
),
3820 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
3823 .label
= "async smb echo handler",
3825 .p_class
= P_GLOBAL
,
3826 .offset
= GLOBAL_VAR(async_smb_echo_handler
),
3829 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
3832 .label
= "panic action",
3834 .p_class
= P_GLOBAL
,
3835 .offset
= GLOBAL_VAR(panic_action
),
3838 .flags
= FLAG_ADVANCED
,
3841 .label
= "perfcount module",
3843 .p_class
= P_GLOBAL
,
3844 .offset
= GLOBAL_VAR(perfcount_module
),
3847 .flags
= FLAG_ADVANCED
,
3850 {N_("VFS module options"), P_SEP
, P_SEPARATOR
},
3853 .label
= "vfs objects",
3856 .offset
= LOCAL_VAR(vfs_objects
),
3859 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3862 .label
= "vfs object",
3865 .offset
= LOCAL_VAR(vfs_objects
),
3872 {N_("MSDFS options"), P_SEP
, P_SEPARATOR
},
3875 .label
= "msdfs root",
3878 .offset
= LOCAL_VAR(msdfs_root
),
3881 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3884 .label
= "msdfs proxy",
3887 .offset
= LOCAL_VAR(msdfs_proxy
),
3890 .flags
= FLAG_ADVANCED
| FLAG_SHARE
,
3893 .label
= "host msdfs",
3895 .p_class
= P_GLOBAL
,
3896 .offset
= GLOBAL_VAR(host_msdfs
),
3899 .flags
= FLAG_ADVANCED
,
3902 {N_("Winbind options"), P_SEP
, P_SEPARATOR
},
3905 .label
= "passdb expand explicit",
3907 .p_class
= P_GLOBAL
,
3908 .offset
= GLOBAL_VAR(passdb_expand_explicit
),
3911 .flags
= FLAG_ADVANCED
,
3914 .label
= "idmap backend",
3916 .p_class
= P_GLOBAL
,
3917 .offset
= GLOBAL_VAR(szIdmapBackend
),
3918 .special
= handle_idmap_backend
,
3920 .flags
= FLAG_ADVANCED
| FLAG_DEPRECATED
,
3923 .label
= "idmap cache time",
3925 .p_class
= P_GLOBAL
,
3926 .offset
= GLOBAL_VAR(idmap_cache_time
),
3929 .flags
= FLAG_ADVANCED
,
3932 .label
= "idmap negative cache time",
3934 .p_class
= P_GLOBAL
,
3935 .offset
= GLOBAL_VAR(idmap_negative_cache_time
),
3938 .flags
= FLAG_ADVANCED
,
3941 .label
= "idmap uid",
3943 .p_class
= P_GLOBAL
,
3944 .offset
= GLOBAL_VAR(szIdmapUID
),
3945 .special
= handle_idmap_uid
,
3947 .flags
= FLAG_ADVANCED
| FLAG_DEPRECATED
,
3950 .label
= "winbind uid",
3952 .p_class
= P_GLOBAL
,
3953 .offset
= GLOBAL_VAR(szIdmapUID
),
3954 .special
= handle_idmap_uid
,
3959 .label
= "idmap gid",
3961 .p_class
= P_GLOBAL
,
3962 .offset
= GLOBAL_VAR(szIdmapGID
),
3963 .special
= handle_idmap_gid
,
3965 .flags
= FLAG_ADVANCED
| FLAG_DEPRECATED
,
3968 .label
= "winbind gid",
3970 .p_class
= P_GLOBAL
,
3971 .offset
= GLOBAL_VAR(szIdmapGID
),
3972 .special
= handle_idmap_gid
,
3977 .label
= "template homedir",
3979 .p_class
= P_GLOBAL
,
3980 .offset
= GLOBAL_VAR(template_homedir
),
3983 .flags
= FLAG_ADVANCED
,
3986 .label
= "template shell",
3988 .p_class
= P_GLOBAL
,
3989 .offset
= GLOBAL_VAR(template_shell
),
3992 .flags
= FLAG_ADVANCED
,
3995 .label
= "winbind separator",
3997 .p_class
= P_GLOBAL
,
3998 .offset
= GLOBAL_VAR(winbind_separator
),
4001 .flags
= FLAG_ADVANCED
,
4004 .label
= "winbind cache time",
4006 .p_class
= P_GLOBAL
,
4007 .offset
= GLOBAL_VAR(winbind_cache_time
),
4010 .flags
= FLAG_ADVANCED
,
4013 .label
= "winbind reconnect delay",
4015 .p_class
= P_GLOBAL
,
4016 .offset
= GLOBAL_VAR(winbind_reconnect_delay
),
4019 .flags
= FLAG_ADVANCED
,
4022 .label
= "winbind max clients",
4024 .p_class
= P_GLOBAL
,
4025 .offset
= GLOBAL_VAR(winbind_max_clients
),
4028 .flags
= FLAG_ADVANCED
,
4031 .label
= "winbind enum users",
4033 .p_class
= P_GLOBAL
,
4034 .offset
= GLOBAL_VAR(winbind_enum_users
),
4037 .flags
= FLAG_ADVANCED
,
4040 .label
= "winbind enum groups",
4042 .p_class
= P_GLOBAL
,
4043 .offset
= GLOBAL_VAR(winbind_enum_groups
),
4046 .flags
= FLAG_ADVANCED
,
4049 .label
= "winbind use default domain",
4051 .p_class
= P_GLOBAL
,
4052 .offset
= GLOBAL_VAR(winbind_use_default_domain
),
4055 .flags
= FLAG_ADVANCED
,
4058 .label
= "winbind trusted domains only",
4060 .p_class
= P_GLOBAL
,
4061 .offset
= GLOBAL_VAR(winbind_trusted_domains_only
),
4064 .flags
= FLAG_ADVANCED
,
4067 .label
= "winbind nested groups",
4069 .p_class
= P_GLOBAL
,
4070 .offset
= GLOBAL_VAR(winbind_nested_groups
),
4073 .flags
= FLAG_ADVANCED
,
4076 .label
= "winbind expand groups",
4078 .p_class
= P_GLOBAL
,
4079 .offset
= GLOBAL_VAR(winbind_expand_groups
),
4082 .flags
= FLAG_ADVANCED
,
4085 .label
= "winbind nss info",
4087 .p_class
= P_GLOBAL
,
4088 .offset
= GLOBAL_VAR(winbind_nss_info
),
4091 .flags
= FLAG_ADVANCED
,
4094 .label
= "winbind refresh tickets",
4096 .p_class
= P_GLOBAL
,
4097 .offset
= GLOBAL_VAR(winbind_refresh_tickets
),
4100 .flags
= FLAG_ADVANCED
,
4103 .label
= "winbind offline logon",
4105 .p_class
= P_GLOBAL
,
4106 .offset
= GLOBAL_VAR(winbind_offline_logon
),
4109 .flags
= FLAG_ADVANCED
,
4112 .label
= "winbind normalize names",
4114 .p_class
= P_GLOBAL
,
4115 .offset
= GLOBAL_VAR(winbind_normalize_names
),
4118 .flags
= FLAG_ADVANCED
,
4121 .label
= "winbind rpc only",
4123 .p_class
= P_GLOBAL
,
4124 .offset
= GLOBAL_VAR(winbind_rpc_only
),
4127 .flags
= FLAG_ADVANCED
,
4130 .label
= "create krb5 conf",
4132 .p_class
= P_GLOBAL
,
4133 .offset
= GLOBAL_VAR(create_krb5_conf
),
4136 .flags
= FLAG_ADVANCED
,
4139 .label
= "ncalrpc dir",
4141 .p_class
= P_GLOBAL
,
4142 .offset
= GLOBAL_VAR(ncalrpc_dir
),
4145 .flags
= FLAG_ADVANCED
,
4148 .label
= "winbind max domain connections",
4150 .p_class
= P_GLOBAL
,
4151 .offset
= GLOBAL_VAR(winbindMaxDomainConnections
),
4154 .flags
= FLAG_ADVANCED
,
4157 .label
= "winbindd socket directory",
4159 .p_class
= P_GLOBAL
,
4160 .offset
= GLOBAL_VAR(winbindd_socket_directory
),
4163 .flags
= FLAG_ADVANCED
,
4166 .label
= "winbindd privileged socket directory",
4168 .p_class
= P_GLOBAL
,
4169 .offset
= GLOBAL_VAR(winbindd_privileged_socket_directory
),
4172 .flags
= FLAG_ADVANCED
,
4175 .label
= "winbind sealed pipes",
4177 .p_class
= P_GLOBAL
,
4178 .offset
= GLOBAL_VAR(winbind_sealed_pipes
),
4181 .flags
= FLAG_ADVANCED
,
4184 .label
= "neutralize nt4 emulation",
4186 .p_class
= P_GLOBAL
,
4187 .offset
= GLOBAL_VAR(neutralize_nt4_emulation
),
4190 .flags
= FLAG_ADVANCED
,
4193 .label
= "reject md5 servers",
4195 .p_class
= P_GLOBAL
,
4196 .offset
= GLOBAL_VAR(reject_md5_servers
),
4199 .flags
= FLAG_ADVANCED
,
4202 .label
= "require strong key",
4204 .p_class
= P_GLOBAL
,
4205 .offset
= GLOBAL_VAR(require_strong_key
),
4208 .flags
= FLAG_ADVANCED
,
4211 {N_("DNS options"), P_SEP
, P_SEPARATOR
},
4213 .label
= "allow dns updates",
4215 .p_class
= P_GLOBAL
,
4216 .offset
= GLOBAL_VAR(allow_dns_updates
),
4218 .enum_list
= enum_dns_update_settings
,
4219 .flags
= FLAG_ADVANCED
,
4222 .label
= "dns forwarder",
4224 .p_class
= P_GLOBAL
,
4225 .offset
= GLOBAL_VAR(dns_forwarder
),
4228 .flags
= FLAG_ADVANCED
,
4231 .label
= "dns update command",
4233 .p_class
= P_GLOBAL
,
4234 .offset
= GLOBAL_VAR(dns_update_command
),
4237 .flags
= FLAG_ADVANCED
,
4240 .label
= "nsupdate command",
4242 .p_class
= P_GLOBAL
,
4243 .offset
= GLOBAL_VAR(nsupdate_command
),
4246 .flags
= FLAG_ADVANCED
,
4249 .label
= "rndc command",
4251 .p_class
= P_GLOBAL
,
4252 .offset
= GLOBAL_VAR(rndc_command
),
4255 .flags
= FLAG_ADVANCED
,
4258 .label
= "multicast dns register",
4260 .p_class
= P_GLOBAL
,
4261 .offset
= GLOBAL_VAR(multicast_dns_register
),
4264 .flags
= FLAG_ADVANCED
| FLAG_GLOBAL
,
4267 {N_("AD DC options"), P_SEP
, P_SEPARATOR
},
4270 .label
= "samba kcc command",
4272 .p_class
= P_GLOBAL
,
4273 .offset
= GLOBAL_VAR(samba_kcc_command
),
4276 .flags
= FLAG_ADVANCED
,
4279 .label
= "server services",
4281 .p_class
= P_GLOBAL
,
4282 .offset
= GLOBAL_VAR(server_services
),
4287 .label
= "dcerpc endpoint servers",
4289 .p_class
= P_GLOBAL
,
4290 .offset
= GLOBAL_VAR(dcerpc_endpoint_servers
),
4295 .label
= "spn update command",
4297 .p_class
= P_GLOBAL
,
4298 .offset
= GLOBAL_VAR(spn_update_command
),
4301 .flags
= FLAG_ADVANCED
,
4304 .label
= "share backend",
4306 .p_class
= P_GLOBAL
,
4307 .offset
= GLOBAL_VAR(share_backend
),
4312 .label
= "ntvfs handler",
4315 .offset
= LOCAL_VAR(ntvfs_handler
),
4320 .label
= "allow nt4 crypto",
4322 .p_class
= P_GLOBAL
,
4323 .offset
= GLOBAL_VAR(allow_nt4_crypto
),
4326 .flags
= FLAG_ADVANCED
,
4329 .label
= "reject md5 clients",
4331 .p_class
= P_GLOBAL
,
4332 .offset
= GLOBAL_VAR(reject_md5_clients
),
4335 .flags
= FLAG_ADVANCED
,
4338 {N_("TLS options"), P_SEP
, P_SEPARATOR
},
4341 .label
= "tls enabled",
4343 .p_class
= P_GLOBAL
,
4344 .offset
= GLOBAL_VAR(tls_enabled
),
4349 .label
= "tls keyfile",
4351 .p_class
= P_GLOBAL
,
4352 .offset
= GLOBAL_VAR(tls_keyfile
),
4357 .label
= "tls certfile",
4359 .p_class
= P_GLOBAL
,
4360 .offset
= GLOBAL_VAR(tls_certfile
),
4365 .label
= "tls cafile",
4367 .p_class
= P_GLOBAL
,
4368 .offset
= GLOBAL_VAR(tls_cafile
),
4373 .label
= "tls crlfile",
4375 .p_class
= P_GLOBAL
,
4376 .offset
= GLOBAL_VAR(tls_crlfile
),
4381 .label
= "tls dh params file",
4383 .p_class
= P_GLOBAL
,
4384 .offset
= GLOBAL_VAR(tls_dhpfile
),
4389 {NULL
, P_BOOL
, P_NONE
, 0, NULL
, NULL
, 0}