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/>.
31 #include "lib/param/param.h"
32 #include "lib/param/loadparm.h"
33 #include "lib/param/param_global.h"
34 #include "libcli/smb/smb_constants.h"
40 static const struct enum_list enum_protocol
[] = {
41 {PROTOCOL_DEFAULT
, "default"}, /* the caller decides what this means */
42 {PROTOCOL_SMB2_10
, "SMB2"}, /* for now keep PROTOCOL_SMB2_10 */
43 {PROTOCOL_SMB3_11
, "SMB3"}, /* for now keep PROTOCOL_SMB3_11 */
44 {PROTOCOL_SMB3_11
, "SMB3_11"},
45 {PROTOCOL_SMB3_10
, "SMB3_10"},
46 {PROTOCOL_SMB3_02
, "SMB3_02"},
47 {PROTOCOL_SMB3_00
, "SMB3_00"},
48 {PROTOCOL_SMB2_24
, "SMB2_24"},
49 {PROTOCOL_SMB2_22
, "SMB2_22"},
50 {PROTOCOL_SMB2_10
, "SMB2_10"},
51 {PROTOCOL_SMB2_02
, "SMB2_02"},
52 {PROTOCOL_NT1
, "NT1"},
53 {PROTOCOL_LANMAN2
, "LANMAN2"},
54 {PROTOCOL_LANMAN1
, "LANMAN1"},
55 {PROTOCOL_CORE
, "CORE"},
56 {PROTOCOL_COREPLUS
, "COREPLUS"},
57 {PROTOCOL_COREPLUS
, "CORE+"},
61 static const struct enum_list enum_security
[] = {
64 {SEC_DOMAIN
, "DOMAIN"},
69 static const struct enum_list enum_bool_auto
[] = {
80 static const struct enum_list enum_csc_policy
[] = {
81 {CSC_POLICY_MANUAL
, "manual"},
82 {CSC_POLICY_DOCUMENTS
, "documents"},
83 {CSC_POLICY_PROGRAMS
, "programs"},
84 {CSC_POLICY_DISABLE
, "disable"},
88 /* Server role options */
89 static const struct enum_list enum_server_role
[] = {
91 {ROLE_STANDALONE
, "standalone server"},
92 {ROLE_STANDALONE
, "standalone"},
93 {ROLE_DOMAIN_MEMBER
, "member server"},
94 {ROLE_DOMAIN_MEMBER
, "member"},
95 {ROLE_DOMAIN_PDC
, "classic primary domain controller"},
96 {ROLE_DOMAIN_BDC
, "classic backup domain controller"},
97 {ROLE_ACTIVE_DIRECTORY_DC
, "active directory domain controller"},
98 {ROLE_ACTIVE_DIRECTORY_DC
, "domain controller"},
99 {ROLE_ACTIVE_DIRECTORY_DC
, "dc"},
103 /* SMB signing types. */
104 static const struct enum_list enum_smb_signing_vals
[] = {
105 {SMB_SIGNING_DEFAULT
, "default"},
106 {SMB_SIGNING_OFF
, "No"},
107 {SMB_SIGNING_OFF
, "False"},
108 {SMB_SIGNING_OFF
, "0"},
109 {SMB_SIGNING_OFF
, "Off"},
110 {SMB_SIGNING_OFF
, "disabled"},
111 {SMB_SIGNING_IF_REQUIRED
, "if_required"},
112 {SMB_SIGNING_IF_REQUIRED
, "Yes"},
113 {SMB_SIGNING_IF_REQUIRED
, "True"},
114 {SMB_SIGNING_IF_REQUIRED
, "1"},
115 {SMB_SIGNING_IF_REQUIRED
, "On"},
116 {SMB_SIGNING_IF_REQUIRED
, "enabled"},
117 {SMB_SIGNING_IF_REQUIRED
, "auto"},
118 {SMB_SIGNING_DESIRED
, "desired"},
119 {SMB_SIGNING_REQUIRED
, "required"},
120 {SMB_SIGNING_REQUIRED
, "mandatory"},
121 {SMB_SIGNING_REQUIRED
, "force"},
122 {SMB_SIGNING_REQUIRED
, "forced"},
123 {SMB_SIGNING_REQUIRED
, "enforced"},
127 /* DNS update options. */
128 static const struct enum_list enum_dns_update_settings
[] = {
129 {DNS_UPDATE_OFF
, "disabled"},
130 {DNS_UPDATE_OFF
, "No"},
131 {DNS_UPDATE_OFF
, "False"},
132 {DNS_UPDATE_OFF
, "0"},
133 {DNS_UPDATE_OFF
, "Off"},
134 {DNS_UPDATE_ON
, "nonsecure and secure"},
135 {DNS_UPDATE_ON
, "nonsecure"},
136 {DNS_UPDATE_SIGNED
, "secure only"},
137 {DNS_UPDATE_SIGNED
, "secure"},
138 {DNS_UPDATE_SIGNED
, "signed"},
143 Do you want session setups at user level security with a invalid
144 password to be rejected or allowed in as guest? WinNT rejects them
145 but it can be a pain as it means "net view" needs to use a password
147 You have 3 choices in the setting of map_to_guest:
149 "Never" means session setups with an invalid password
150 are rejected. This is the default.
152 "Bad User" means session setups with an invalid password
153 are rejected, unless the username does not exist, in which case it
154 is treated as a guest login
156 "Bad Password" means session setups with an invalid password
157 are treated as a guest login
159 Note that map_to_guest only has an effect in user or server
163 static const struct enum_list enum_map_to_guest
[] = {
164 {NEVER_MAP_TO_GUEST
, "Never"},
165 {MAP_TO_GUEST_ON_BAD_USER
, "Bad User"},
166 {MAP_TO_GUEST_ON_BAD_PASSWORD
, "Bad Password"},
167 {MAP_TO_GUEST_ON_BAD_UID
, "Bad Uid"},
171 /* Config backend options */
173 static const struct enum_list enum_config_backend
[] = {
174 {CONFIG_BACKEND_FILE
, "file"},
175 {CONFIG_BACKEND_REGISTRY
, "registry"},
179 static const struct enum_list enum_smbd_profiling_level
[] = {
180 {0, "off"}, {1, "count"}, {2, "on"}, {-1, NULL
}
184 /* ADS kerberos ticket verification options */
186 static const struct enum_list enum_kerberos_method
[] = {
187 {KERBEROS_VERIFY_SECRETS
, "default"},
188 {KERBEROS_VERIFY_SECRETS
, "secrets only"},
189 {KERBEROS_VERIFY_SYSTEM_KEYTAB
, "system keytab"},
190 {KERBEROS_VERIFY_DEDICATED_KEYTAB
, "dedicated keytab"},
191 {KERBEROS_VERIFY_SECRETS_AND_KEYTAB
, "secrets and keytab"},
195 static const struct enum_list enum_printing
[] = {
196 {PRINT_SYSV
, "sysv"},
198 {PRINT_HPUX
, "hpux"},
202 {PRINT_LPRNG
, "lprng"},
204 {PRINT_CUPS
, "cups"},
207 {PRINT_IPRINT
, "iprint"},
210 {PRINT_LPROS2
, "os2"},
211 #if defined(DEVELOPER) || defined(ENABLE_SELFTEST)
212 {PRINT_TEST
, "test"},
214 #endif /* DEVELOPER */
218 static const struct enum_list enum_ldap_sasl_wrapping
[] = {
220 {ADS_AUTH_SASL_SIGN
, "sign"},
221 {ADS_AUTH_SASL_SEAL
, "seal"},
225 static const struct enum_list enum_ldap_ssl
[] = {
226 {LDAP_SSL_OFF
, "no"},
227 {LDAP_SSL_OFF
, "off"},
228 {LDAP_SSL_START_TLS
, "start tls"},
229 {LDAP_SSL_START_TLS
, "start_tls"},
233 /* LDAP Dereferencing Alias types */
234 #define SAMBA_LDAP_DEREF_NEVER 0
235 #define SAMBA_LDAP_DEREF_SEARCHING 1
236 #define SAMBA_LDAP_DEREF_FINDING 2
237 #define SAMBA_LDAP_DEREF_ALWAYS 3
239 static const struct enum_list enum_ldap_deref
[] = {
240 {SAMBA_LDAP_DEREF_NEVER
, "never"},
241 {SAMBA_LDAP_DEREF_SEARCHING
, "searching"},
242 {SAMBA_LDAP_DEREF_FINDING
, "finding"},
243 {SAMBA_LDAP_DEREF_ALWAYS
, "always"},
247 static const struct enum_list enum_ldap_passwd_sync
[] = {
248 {LDAP_PASSWD_SYNC_OFF
, "no"},
249 {LDAP_PASSWD_SYNC_OFF
, "off"},
250 {LDAP_PASSWD_SYNC_ON
, "yes"},
251 {LDAP_PASSWD_SYNC_ON
, "on"},
252 {LDAP_PASSWD_SYNC_ONLY
, "only"},
256 static const struct enum_list enum_map_readonly
[] = {
257 {MAP_READONLY_NO
, "no"},
258 {MAP_READONLY_NO
, "false"},
259 {MAP_READONLY_NO
, "0"},
260 {MAP_READONLY_YES
, "yes"},
261 {MAP_READONLY_YES
, "true"},
262 {MAP_READONLY_YES
, "1"},
263 {MAP_READONLY_PERMISSIONS
, "permissions"},
264 {MAP_READONLY_PERMISSIONS
, "perms"},
268 static const struct enum_list enum_case
[] = {
269 {CASE_LOWER
, "lower"},
270 {CASE_UPPER
, "upper"},
275 /* Note: We do not initialise the defaults union - it is not allowed in ANSI C
277 * NOTE: Handling of duplicated (synonym) parameters:
278 * Parameters that are synonymous are stored in the same variable.
279 * All but the default spelling carry the flag FLAG_SYNONYM.
282 #define GLOBAL_VAR(name) offsetof(struct loadparm_global, name)
283 #define LOCAL_VAR(name) offsetof(struct loadparm_service, name)
286 struct parm_struct parm_table
[] = {
288 .label
= "dos charset",
291 .offset
= GLOBAL_VAR(dos_charset
),
292 .special
= handle_dos_charset
,
296 .label
= "unix charset",
299 .offset
= GLOBAL_VAR(unix_charset
),
300 .special
= handle_charset
,
307 .offset
= LOCAL_VAR(comment
),
315 .offset
= LOCAL_VAR(path
),
320 .label
= "directory",
323 .offset
= LOCAL_VAR(path
),
326 .flags
= FLAG_SYNONYM
,
329 .label
= "workgroup",
332 .offset
= GLOBAL_VAR(workgroup
),
340 .offset
= GLOBAL_VAR(realm_original
),
341 .special
= handle_realm
,
345 .label
= "netbios name",
348 .offset
= GLOBAL_VAR(netbios_name
),
353 .label
= "netbios aliases",
356 .offset
= GLOBAL_VAR(netbios_aliases
),
357 .special
= handle_netbios_aliases
,
361 .label
= "netbios scope",
364 .offset
= GLOBAL_VAR(netbios_scope
),
369 .label
= "server string",
372 .offset
= GLOBAL_VAR(server_string
),
377 .label
= "interfaces",
380 .offset
= GLOBAL_VAR(interfaces
),
385 .label
= "bind interfaces only",
388 .offset
= GLOBAL_VAR(bind_interfaces_only
),
393 .label
= "config backend",
396 .offset
= GLOBAL_VAR(config_backend
),
398 .enum_list
= enum_config_backend
,
401 .label
= "server role",
404 .offset
= GLOBAL_VAR(_server_role
),
406 .enum_list
= enum_server_role
,
412 .offset
= GLOBAL_VAR(_security
),
414 .enum_list
= enum_security
,
417 .label
= "auth methods",
420 .offset
= GLOBAL_VAR(auth_methods
),
425 .label
= "encrypt passwords",
428 .offset
= GLOBAL_VAR(encrypt_passwords
),
433 .label
= "client schannel",
436 .offset
= GLOBAL_VAR(client_schannel
),
438 .enum_list
= enum_bool_auto
,
441 .label
= "server schannel",
444 .offset
= GLOBAL_VAR(server_schannel
),
446 .enum_list
= enum_bool_auto
,
449 .label
= "allow trusted domains",
452 .offset
= GLOBAL_VAR(allow_trusted_domains
),
457 .label
= "map to guest",
460 .offset
= GLOBAL_VAR(map_to_guest
),
462 .enum_list
= enum_map_to_guest
,
465 .label
= "null passwords",
468 .offset
= GLOBAL_VAR(null_passwords
),
471 .flags
= FLAG_DEPRECATED
,
474 .label
= "old password allowed period",
477 .offset
= GLOBAL_VAR(old_password_allowed_period
),
482 .label
= "obey pam restrictions",
485 .offset
= GLOBAL_VAR(obey_pam_restrictions
),
490 .label
= "password server",
493 .offset
= GLOBAL_VAR(password_server
),
498 .label
= "smb passwd file",
501 .offset
= GLOBAL_VAR(smb_passwd_file
),
506 .label
= "private dir",
509 .offset
= GLOBAL_VAR(private_dir
),
514 .label
= "private directory",
517 .offset
= GLOBAL_VAR(private_dir
),
520 .flags
= FLAG_SYNONYM
,
523 .label
= "passdb backend",
526 .offset
= GLOBAL_VAR(passdb_backend
),
531 .label
= "algorithmic rid base",
534 .offset
= GLOBAL_VAR(algorithmic_rid_base
),
539 .label
= "root directory",
542 .offset
= GLOBAL_VAR(root_directory
),
550 .offset
= GLOBAL_VAR(root_directory
),
553 .flags
= FLAG_SYNONYM
,
559 .offset
= GLOBAL_VAR(root_directory
),
562 .flags
= FLAG_SYNONYM
,
565 .label
= "guest account",
568 .offset
= GLOBAL_VAR(guest_account
),
573 .label
= "enable privileges",
576 .offset
= GLOBAL_VAR(enable_privileges
),
579 .flags
= FLAG_DEPRECATED
,
583 .label
= "pam password change",
586 .offset
= GLOBAL_VAR(pam_password_change
),
591 .label
= "passwd program",
594 .offset
= GLOBAL_VAR(passwd_program
),
599 .label
= "passwd chat",
602 .offset
= GLOBAL_VAR(passwd_chat
),
607 .label
= "passwd chat debug",
610 .offset
= GLOBAL_VAR(passwd_chat_debug
),
615 .label
= "passwd chat timeout",
618 .offset
= GLOBAL_VAR(passwd_chat_timeout
),
623 .label
= "check password script",
626 .offset
= GLOBAL_VAR(check_password_script
),
631 .label
= "username map",
634 .offset
= GLOBAL_VAR(username_map
),
639 .label
= "username level",
642 .offset
= GLOBAL_VAR(username_level
),
647 .label
= "unix password sync",
650 .offset
= GLOBAL_VAR(unix_password_sync
),
655 .label
= "restrict anonymous",
658 .offset
= GLOBAL_VAR(restrict_anonymous
),
663 .label
= "lanman auth",
666 .offset
= GLOBAL_VAR(lanman_auth
),
671 .label
= "ntlm auth",
674 .offset
= GLOBAL_VAR(ntlm_auth
),
679 .label
= "client NTLMv2 auth",
682 .offset
= GLOBAL_VAR(client_ntlmv2_auth
),
687 .label
= "client lanman auth",
690 .offset
= GLOBAL_VAR(client_lanman_auth
),
695 .label
= "client plaintext auth",
698 .offset
= GLOBAL_VAR(client_plaintext_auth
),
703 .label
= "client use spnego principal",
706 .offset
= GLOBAL_VAR(client_use_spnego_principal
),
709 .flags
= FLAG_DEPRECATED
,
715 .offset
= LOCAL_VAR(username
),
718 .flags
= FLAG_DEPRECATED
,
724 .offset
= LOCAL_VAR(username
),
727 .flags
= FLAG_SYNONYM
,
733 .offset
= LOCAL_VAR(username
),
736 .flags
= FLAG_SYNONYM
,
739 .label
= "invalid users",
742 .offset
= LOCAL_VAR(invalid_users
),
747 .label
= "valid users",
750 .offset
= LOCAL_VAR(valid_users
),
755 .label
= "admin users",
758 .offset
= LOCAL_VAR(admin_users
),
763 .label
= "read list",
766 .offset
= LOCAL_VAR(read_list
),
771 .label
= "write list",
774 .offset
= LOCAL_VAR(write_list
),
779 .label
= "force user",
782 .offset
= LOCAL_VAR(force_user
),
787 .label
= "force group",
790 .offset
= LOCAL_VAR(force_group
),
798 .offset
= LOCAL_VAR(force_group
),
803 .label
= "read only",
806 .offset
= LOCAL_VAR(read_only
),
814 .offset
= LOCAL_VAR(read_only
),
817 .flags
= FLAG_SYNONYM
,
820 .label
= "writeable",
823 .offset
= LOCAL_VAR(read_only
),
826 .flags
= FLAG_SYNONYM
,
832 .offset
= LOCAL_VAR(read_only
),
835 .flags
= FLAG_SYNONYM
,
838 .label
= "acl check permissions",
841 .offset
= LOCAL_VAR(acl_check_permissions
),
844 .flags
= FLAG_DEPRECATED
,
847 .label
= "acl group control",
850 .offset
= LOCAL_VAR(acl_group_control
),
855 .label
= "acl map full control",
858 .offset
= LOCAL_VAR(acl_map_full_control
),
863 .label
= "acl allow execute always",
866 .offset
= LOCAL_VAR(acl_allow_execute_always
),
872 .label
= "create mask",
875 .offset
= LOCAL_VAR(create_mask
),
880 .label
= "create mode",
883 .offset
= LOCAL_VAR(create_mask
),
886 .flags
= FLAG_SYNONYM
,
889 .label
= "force create mode",
892 .offset
= LOCAL_VAR(force_create_mode
),
897 .label
= "directory mask",
900 .offset
= LOCAL_VAR(directory_mask
),
905 .label
= "directory mode",
908 .offset
= LOCAL_VAR(directory_mask
),
913 .label
= "force directory mode",
916 .offset
= LOCAL_VAR(force_directory_mode
),
921 .label
= "force unknown acl user",
924 .offset
= LOCAL_VAR(force_unknown_acl_user
),
929 .label
= "inherit permissions",
932 .offset
= LOCAL_VAR(inherit_permissions
),
937 .label
= "inherit acls",
940 .offset
= LOCAL_VAR(inherit_acls
),
945 .label
= "inherit owner",
948 .offset
= LOCAL_VAR(inherit_owner
),
953 .label
= "guest only",
956 .offset
= LOCAL_VAR(guest_only
),
961 .label
= "only guest",
964 .offset
= LOCAL_VAR(guest_only
),
967 .flags
= FLAG_SYNONYM
,
970 .label
= "administrative share",
973 .offset
= LOCAL_VAR(administrative_share
),
982 .offset
= LOCAL_VAR(guest_ok
),
990 .offset
= LOCAL_VAR(guest_ok
),
993 .flags
= FLAG_SYNONYM
,
996 .label
= "only user",
999 .offset
= LOCAL_VAR(only_user
),
1002 .flags
= FLAG_DEPRECATED
,
1005 .label
= "hosts allow",
1008 .offset
= LOCAL_VAR(hosts_allow
),
1013 .label
= "allow hosts",
1016 .offset
= LOCAL_VAR(hosts_allow
),
1019 .flags
= FLAG_SYNONYM
,
1022 .label
= "hosts deny",
1025 .offset
= LOCAL_VAR(hosts_deny
),
1030 .label
= "deny hosts",
1033 .offset
= LOCAL_VAR(hosts_deny
),
1036 .flags
= FLAG_SYNONYM
,
1039 .label
= "preload modules",
1041 .p_class
= P_GLOBAL
,
1042 .offset
= GLOBAL_VAR(preload_modules
),
1047 .label
= "dedicated keytab file",
1049 .p_class
= P_GLOBAL
,
1050 .offset
= GLOBAL_VAR(dedicated_keytab_file
),
1055 .label
= "kerberos method",
1057 .p_class
= P_GLOBAL
,
1058 .offset
= GLOBAL_VAR(kerberos_method
),
1060 .enum_list
= enum_kerberos_method
,
1063 .label
= "map untrusted to domain",
1065 .p_class
= P_GLOBAL
,
1066 .offset
= GLOBAL_VAR(map_untrusted_to_domain
),
1071 .label
= "log level",
1073 .p_class
= P_GLOBAL
,
1074 .offset
= GLOBAL_VAR(log_level
),
1075 .special
= handle_debug_list
,
1079 .label
= "debuglevel",
1081 .p_class
= P_GLOBAL
,
1082 .offset
= GLOBAL_VAR(log_level
),
1083 .special
= handle_debug_list
,
1085 .flags
= FLAG_SYNONYM
,
1090 .p_class
= P_GLOBAL
,
1091 .offset
= GLOBAL_VAR(syslog
),
1094 .flags
= FLAG_DEPRECATED
,
1097 .label
= "syslog only",
1099 .p_class
= P_GLOBAL
,
1100 .offset
= GLOBAL_VAR(syslog_only
),
1103 .flags
= FLAG_DEPRECATED
,
1106 .label
= "log file",
1108 .p_class
= P_GLOBAL
,
1109 .offset
= GLOBAL_VAR(logfile
),
1110 .special
= handle_logfile
,
1116 .p_class
= P_GLOBAL
,
1117 .offset
= GLOBAL_VAR(logging
),
1122 .label
= "max log size",
1124 .p_class
= P_GLOBAL
,
1125 .offset
= GLOBAL_VAR(max_log_size
),
1130 .label
= "debug timestamp",
1132 .p_class
= P_GLOBAL
,
1133 .offset
= GLOBAL_VAR(timestamp_logs
),
1138 .label
= "timestamp logs",
1140 .p_class
= P_GLOBAL
,
1141 .offset
= GLOBAL_VAR(timestamp_logs
),
1146 .label
= "debug prefix timestamp",
1148 .p_class
= P_GLOBAL
,
1149 .offset
= GLOBAL_VAR(debug_prefix_timestamp
),
1154 .label
= "debug hires timestamp",
1156 .p_class
= P_GLOBAL
,
1157 .offset
= GLOBAL_VAR(debug_hires_timestamp
),
1162 .label
= "debug pid",
1164 .p_class
= P_GLOBAL
,
1165 .offset
= GLOBAL_VAR(debug_pid
),
1170 .label
= "debug uid",
1172 .p_class
= P_GLOBAL
,
1173 .offset
= GLOBAL_VAR(debug_uid
),
1178 .label
= "debug class",
1180 .p_class
= P_GLOBAL
,
1181 .offset
= GLOBAL_VAR(debug_class
),
1186 .label
= "enable core files",
1188 .p_class
= P_GLOBAL
,
1189 .offset
= GLOBAL_VAR(enable_core_files
),
1194 .label
= "allocation roundup size",
1197 .offset
= LOCAL_VAR(allocation_roundup_size
),
1202 .label
= "aio read size",
1205 .offset
= LOCAL_VAR(aio_read_size
),
1210 .label
= "aio write size",
1213 .offset
= LOCAL_VAR(aio_write_size
),
1218 .label
= "aio write behind",
1221 .offset
= LOCAL_VAR(aio_write_behind
),
1226 .label
= "smb ports",
1228 .p_class
= P_GLOBAL
,
1229 .offset
= GLOBAL_VAR(smb_ports
),
1230 .special
= handle_smb_ports
,
1234 .label
= "large readwrite",
1236 .p_class
= P_GLOBAL
,
1237 .offset
= GLOBAL_VAR(large_readwrite
),
1242 .label
= "server max protocol",
1244 .p_class
= P_GLOBAL
,
1245 .offset
= GLOBAL_VAR(server_max_protocol
),
1247 .enum_list
= enum_protocol
,
1250 .label
= "max protocol",
1252 .p_class
= P_GLOBAL
,
1253 .offset
= GLOBAL_VAR(server_max_protocol
),
1255 .enum_list
= enum_protocol
,
1258 .label
= "protocol",
1260 .p_class
= P_GLOBAL
,
1261 .offset
= GLOBAL_VAR(server_max_protocol
),
1263 .enum_list
= enum_protocol
,
1266 .label
= "server min protocol",
1268 .p_class
= P_GLOBAL
,
1269 .offset
= GLOBAL_VAR(server_min_protocol
),
1271 .enum_list
= enum_protocol
,
1274 .label
= "min protocol",
1276 .p_class
= P_GLOBAL
,
1277 .offset
= GLOBAL_VAR(server_min_protocol
),
1279 .enum_list
= enum_protocol
,
1282 .label
= "client max protocol",
1284 .p_class
= P_GLOBAL
,
1285 .offset
= GLOBAL_VAR(_client_max_protocol
),
1287 .enum_list
= enum_protocol
,
1290 .label
= "client min protocol",
1292 .p_class
= P_GLOBAL
,
1293 .offset
= GLOBAL_VAR(client_min_protocol
),
1295 .enum_list
= enum_protocol
,
1300 .p_class
= P_GLOBAL
,
1301 .offset
= GLOBAL_VAR(unicode
),
1306 .label
= "min receivefile size",
1308 .p_class
= P_GLOBAL
,
1309 .offset
= GLOBAL_VAR(iminreceivefile
),
1314 .label
= "read raw",
1316 .p_class
= P_GLOBAL
,
1317 .offset
= GLOBAL_VAR(read_raw
),
1322 .label
= "write raw",
1324 .p_class
= P_GLOBAL
,
1325 .offset
= GLOBAL_VAR(write_raw
),
1330 .label
= "disable netbios",
1332 .p_class
= P_GLOBAL
,
1333 .offset
= GLOBAL_VAR(disable_netbios
),
1338 .label
= "reset on zero vc",
1340 .p_class
= P_GLOBAL
,
1341 .offset
= GLOBAL_VAR(reset_on_zero_vc
),
1346 .label
= "log writeable files on exit",
1348 .p_class
= P_GLOBAL
,
1349 .offset
= GLOBAL_VAR(log_writeable_files_on_exit
),
1354 .label
= "defer sharing violations",
1356 .p_class
= P_GLOBAL
,
1357 .offset
= GLOBAL_VAR(defer_sharing_violations
),
1362 .label
= "ea support",
1365 .offset
= LOCAL_VAR(ea_support
),
1370 .label
= "nt acl support",
1373 .offset
= LOCAL_VAR(nt_acl_support
),
1378 .label
= "nt pipe support",
1380 .p_class
= P_GLOBAL
,
1381 .offset
= GLOBAL_VAR(nt_pipe_support
),
1386 .label
= "nt status support",
1388 .p_class
= P_GLOBAL
,
1389 .offset
= GLOBAL_VAR(nt_status_support
),
1394 .label
= "smbd profiling level",
1396 .p_class
= P_GLOBAL
,
1397 .offset
= GLOBAL_VAR(smbd_profiling_level
),
1399 .enum_list
= enum_smbd_profiling_level
,
1402 .label
= "profile acls",
1405 .offset
= LOCAL_VAR(profile_acls
),
1410 .label
= "map acl inherit",
1413 .offset
= LOCAL_VAR(map_acl_inherit
),
1418 .label
= "afs share",
1421 .offset
= LOCAL_VAR(afs_share
),
1428 .p_class
= P_GLOBAL
,
1429 .offset
= GLOBAL_VAR(max_mux
),
1434 .label
= "max xmit",
1436 .p_class
= P_GLOBAL
,
1437 .offset
= GLOBAL_VAR(max_xmit
),
1442 .label
= "name resolve order",
1444 .p_class
= P_GLOBAL
,
1445 .offset
= GLOBAL_VAR(name_resolve_order
),
1452 .p_class
= P_GLOBAL
,
1453 .offset
= GLOBAL_VAR(max_ttl
),
1458 .label
= "max wins ttl",
1460 .p_class
= P_GLOBAL
,
1461 .offset
= GLOBAL_VAR(max_wins_ttl
),
1466 .label
= "min wins ttl",
1468 .p_class
= P_GLOBAL
,
1469 .offset
= GLOBAL_VAR(min_wins_ttl
),
1474 .label
= "time server",
1476 .p_class
= P_GLOBAL
,
1477 .offset
= GLOBAL_VAR(time_server
),
1482 .label
= "unix extensions",
1484 .p_class
= P_GLOBAL
,
1485 .offset
= GLOBAL_VAR(unix_extensions
),
1490 .label
= "use spnego",
1492 .p_class
= P_GLOBAL
,
1493 .offset
= GLOBAL_VAR(use_spnego
),
1496 .flags
= FLAG_DEPRECATED
,
1499 .label
= "client signing",
1501 .p_class
= P_GLOBAL
,
1502 .offset
= GLOBAL_VAR(client_signing
),
1504 .enum_list
= enum_smb_signing_vals
,
1507 .label
= "server signing",
1509 .p_class
= P_GLOBAL
,
1510 .offset
= GLOBAL_VAR(server_signing
),
1512 .enum_list
= enum_smb_signing_vals
,
1515 .label
= "smb encrypt",
1518 .offset
= LOCAL_VAR(smb_encrypt
),
1520 .enum_list
= enum_smb_signing_vals
,
1523 .label
= "client use spnego",
1525 .p_class
= P_GLOBAL
,
1526 .offset
= GLOBAL_VAR(client_use_spnego
),
1531 .label
= "client ldap sasl wrapping",
1533 .p_class
= P_GLOBAL
,
1534 .offset
= GLOBAL_VAR(client_ldap_sasl_wrapping
),
1536 .enum_list
= enum_ldap_sasl_wrapping
,
1539 .label
= "enable asu support",
1541 .p_class
= P_GLOBAL
,
1542 .offset
= GLOBAL_VAR(enable_asu_support
),
1547 .label
= "svcctl list",
1549 .p_class
= P_GLOBAL
,
1550 .offset
= GLOBAL_VAR(svcctl_list
),
1555 .label
= "cldap port",
1557 .p_class
= P_GLOBAL
,
1558 .offset
= GLOBAL_VAR(cldap_port
),
1563 .label
= "dgram port",
1565 .p_class
= P_GLOBAL
,
1566 .offset
= GLOBAL_VAR(dgram_port
),
1569 .flags
= FLAG_DEPRECATED
1572 .label
= "nbt port",
1574 .p_class
= P_GLOBAL
,
1575 .offset
= GLOBAL_VAR(nbt_port
),
1578 .flags
= FLAG_DEPRECATED
1581 .label
= "krb5 port",
1583 .p_class
= P_GLOBAL
,
1584 .offset
= GLOBAL_VAR(krb5_port
),
1589 .label
= "kpasswd port",
1591 .p_class
= P_GLOBAL
,
1592 .offset
= GLOBAL_VAR(kpasswd_port
),
1597 .label
= "web port",
1599 .p_class
= P_GLOBAL
,
1600 .offset
= GLOBAL_VAR(web_port
),
1605 .label
= "rpc big endian",
1607 .p_class
= P_GLOBAL
,
1608 .offset
= GLOBAL_VAR(rpc_big_endian
),
1613 .label
= "durable handles",
1616 .offset
= LOCAL_VAR(durable_handles
),
1621 .label
= "block size",
1624 .offset
= LOCAL_VAR(block_size
),
1629 .label
= "deadtime",
1631 .p_class
= P_GLOBAL
,
1632 .offset
= GLOBAL_VAR(deadtime
),
1637 .label
= "getwd cache",
1639 .p_class
= P_GLOBAL
,
1640 .offset
= GLOBAL_VAR(getwd_cache
),
1645 .label
= "keepalive",
1647 .p_class
= P_GLOBAL
,
1648 .offset
= GLOBAL_VAR(keepalive
),
1653 .label
= "change notify",
1656 .offset
= LOCAL_VAR(change_notify
),
1661 .label
= "directory name cache size",
1664 .offset
= LOCAL_VAR(directory_name_cache_size
),
1669 .label
= "kernel change notify",
1672 .offset
= LOCAL_VAR(kernel_change_notify
),
1677 .label
= "lpq cache time",
1679 .p_class
= P_GLOBAL
,
1680 .offset
= GLOBAL_VAR(lpq_cache_time
),
1685 .label
= "max smbd processes",
1687 .p_class
= P_GLOBAL
,
1688 .offset
= GLOBAL_VAR(max_smbd_processes
),
1693 .label
= "max connections",
1696 .offset
= LOCAL_VAR(max_connections
),
1701 .label
= "max disk size",
1703 .p_class
= P_GLOBAL
,
1704 .offset
= GLOBAL_VAR(max_disk_size
),
1709 .label
= "max open files",
1711 .p_class
= P_GLOBAL
,
1712 .offset
= GLOBAL_VAR(max_open_files
),
1717 .label
= "min print space",
1720 .offset
= LOCAL_VAR(min_print_space
),
1725 .label
= "socket options",
1727 .p_class
= P_GLOBAL
,
1728 .offset
= GLOBAL_VAR(socket_options
),
1733 .label
= "strict allocate",
1736 .offset
= LOCAL_VAR(strict_allocate
),
1741 .label
= "strict rename",
1744 .offset
= LOCAL_VAR(strict_rename
),
1749 .label
= "strict sync",
1752 .offset
= LOCAL_VAR(strict_sync
),
1757 .label
= "sync always",
1760 .offset
= LOCAL_VAR(sync_always
),
1765 .label
= "use mmap",
1767 .p_class
= P_GLOBAL
,
1768 .offset
= GLOBAL_VAR(use_mmap
),
1773 .label
= "use sendfile",
1776 .offset
= LOCAL_VAR(_use_sendfile
),
1781 .label
= "hostname lookups",
1783 .p_class
= P_GLOBAL
,
1784 .offset
= GLOBAL_VAR(hostname_lookups
),
1789 .label
= "write cache size",
1792 .offset
= LOCAL_VAR(write_cache_size
),
1797 .label
= "name cache timeout",
1799 .p_class
= P_GLOBAL
,
1800 .offset
= GLOBAL_VAR(name_cache_timeout
),
1805 .label
= "ctdbd socket",
1807 .p_class
= P_GLOBAL
,
1808 .offset
= GLOBAL_VAR(_ctdbd_socket
),
1813 .label
= "cluster addresses",
1815 .p_class
= P_GLOBAL
,
1816 .offset
= GLOBAL_VAR(cluster_addresses
),
1821 .label
= "clustering",
1823 .p_class
= P_GLOBAL
,
1824 .offset
= GLOBAL_VAR(clustering
),
1829 .label
= "ctdb timeout",
1831 .p_class
= P_GLOBAL
,
1832 .offset
= GLOBAL_VAR(ctdb_timeout
),
1837 .label
= "ctdb locktime warn threshold",
1839 .p_class
= P_GLOBAL
,
1840 .offset
= GLOBAL_VAR(ctdb_locktime_warn_threshold
),
1845 .label
= "smb2 max read",
1847 .p_class
= P_GLOBAL
,
1848 .offset
= GLOBAL_VAR(smb2_max_read
),
1853 .label
= "smb2 max write",
1855 .p_class
= P_GLOBAL
,
1856 .offset
= GLOBAL_VAR(smb2_max_write
),
1861 .label
= "smb2 max trans",
1863 .p_class
= P_GLOBAL
,
1864 .offset
= GLOBAL_VAR(smb2_max_trans
),
1869 .label
= "smb2 max credits",
1871 .p_class
= P_GLOBAL
,
1872 .offset
= GLOBAL_VAR(ismb2_max_credits
),
1877 .label
= "max reported print jobs",
1880 .offset
= LOCAL_VAR(max_reported_print_jobs
),
1885 .label
= "max print jobs",
1888 .offset
= LOCAL_VAR(iMaxPrintJobs
),
1893 .label
= "load printers",
1895 .p_class
= P_GLOBAL
,
1896 .offset
= GLOBAL_VAR(load_printers
),
1901 .label
= "printcap cache time",
1903 .p_class
= P_GLOBAL
,
1904 .offset
= GLOBAL_VAR(printcap_cache_time
),
1909 .label
= "printcap name",
1911 .p_class
= P_GLOBAL
,
1912 .offset
= GLOBAL_VAR(szPrintcapname
),
1917 .label
= "printcap",
1919 .p_class
= P_GLOBAL
,
1920 .offset
= GLOBAL_VAR(szPrintcapname
),
1923 .flags
= FLAG_SYNONYM
,
1926 .label
= "printable",
1929 .offset
= LOCAL_VAR(printable
),
1934 .label
= "print notify backchannel",
1937 .offset
= LOCAL_VAR(print_notify_backchannel
),
1942 .label
= "print ok",
1945 .offset
= LOCAL_VAR(printable
),
1948 .flags
= FLAG_SYNONYM
,
1951 .label
= "printing",
1954 .offset
= LOCAL_VAR(printing
),
1955 .special
= handle_printing
,
1956 .enum_list
= enum_printing
,
1959 .label
= "cups options",
1962 .offset
= LOCAL_VAR(cups_options
),
1967 .label
= "cups server",
1969 .p_class
= P_GLOBAL
,
1970 .offset
= GLOBAL_VAR(cups_server
),
1975 .label
= "cups encrypt",
1977 .p_class
= P_GLOBAL
,
1978 .offset
= GLOBAL_VAR(CupsEncrypt
),
1980 .enum_list
= enum_bool_auto
,
1984 .label
= "cups connection timeout",
1986 .p_class
= P_GLOBAL
,
1987 .offset
= GLOBAL_VAR(cups_connection_timeout
),
1992 .label
= "iprint server",
1994 .p_class
= P_GLOBAL
,
1995 .offset
= GLOBAL_VAR(iprint_server
),
2000 .label
= "print command",
2003 .offset
= LOCAL_VAR(print_command
),
2008 .label
= "disable spoolss",
2010 .p_class
= P_GLOBAL
,
2011 .offset
= GLOBAL_VAR(_disable_spoolss
),
2016 .label
= "enable spoolss",
2018 .p_class
= P_GLOBAL
,
2019 .offset
= GLOBAL_VAR(_disable_spoolss
),
2022 .flags
= FLAG_SYNONYM
,
2025 .label
= "lpq command",
2028 .offset
= LOCAL_VAR(lpq_command
),
2033 .label
= "lprm command",
2036 .offset
= LOCAL_VAR(lprm_command
),
2041 .label
= "lppause command",
2044 .offset
= LOCAL_VAR(lppause_command
),
2049 .label
= "lpresume command",
2052 .offset
= LOCAL_VAR(lpresume_command
),
2057 .label
= "queuepause command",
2060 .offset
= LOCAL_VAR(queuepause_command
),
2065 .label
= "queueresume command",
2068 .offset
= LOCAL_VAR(queueresume_command
),
2073 .label
= "addport command",
2075 .p_class
= P_GLOBAL
,
2076 .offset
= GLOBAL_VAR(addport_command
),
2081 .label
= "enumports command",
2083 .p_class
= P_GLOBAL
,
2084 .offset
= GLOBAL_VAR(enumports_command
),
2089 .label
= "addprinter command",
2091 .p_class
= P_GLOBAL
,
2092 .offset
= GLOBAL_VAR(addprinter_command
),
2097 .label
= "deleteprinter command",
2099 .p_class
= P_GLOBAL
,
2100 .offset
= GLOBAL_VAR(deleteprinter_command
),
2105 .label
= "show add printer wizard",
2107 .p_class
= P_GLOBAL
,
2108 .offset
= GLOBAL_VAR(show_add_printer_wizard
),
2113 .label
= "os2 driver map",
2115 .p_class
= P_GLOBAL
,
2116 .offset
= GLOBAL_VAR(os2_driver_map
),
2122 .label
= "printer name",
2125 .offset
= LOCAL_VAR(_printername
),
2133 .offset
= LOCAL_VAR(_printername
),
2136 .flags
= FLAG_SYNONYM
,
2139 .label
= "use client driver",
2142 .offset
= LOCAL_VAR(use_client_driver
),
2147 .label
= "default devmode",
2150 .offset
= LOCAL_VAR(default_devmode
),
2155 .label
= "force printername",
2158 .offset
= LOCAL_VAR(force_printername
),
2163 .label
= "printjob username",
2166 .offset
= LOCAL_VAR(printjob_username
),
2171 .label
= "mangling method",
2173 .p_class
= P_GLOBAL
,
2174 .offset
= GLOBAL_VAR(mangling_method
),
2179 .label
= "mangle prefix",
2181 .p_class
= P_GLOBAL
,
2182 .offset
= GLOBAL_VAR(mangle_prefix
),
2188 .label
= "default case",
2191 .offset
= LOCAL_VAR(default_case
),
2193 .enum_list
= enum_case
,
2196 .label
= "case sensitive",
2199 .offset
= LOCAL_VAR(case_sensitive
),
2201 .enum_list
= enum_bool_auto
,
2204 .label
= "casesignames",
2207 .offset
= LOCAL_VAR(case_sensitive
),
2209 .enum_list
= enum_bool_auto
,
2210 .flags
= FLAG_SYNONYM
,
2213 .label
= "preserve case",
2216 .offset
= LOCAL_VAR(preserve_case
),
2221 .label
= "short preserve case",
2224 .offset
= LOCAL_VAR(short_preserve_case
),
2229 .label
= "mangling char",
2232 .offset
= LOCAL_VAR(mangling_char
),
2237 .label
= "hide dot files",
2240 .offset
= LOCAL_VAR(hide_dot_files
),
2245 .label
= "hide special files",
2248 .offset
= LOCAL_VAR(hide_special_files
),
2253 .label
= "hide unreadable",
2256 .offset
= LOCAL_VAR(hide_unreadable
),
2261 .label
= "hide unwriteable files",
2264 .offset
= LOCAL_VAR(hide_unwriteable_files
),
2269 .label
= "delete veto files",
2272 .offset
= LOCAL_VAR(delete_veto_files
),
2277 .label
= "veto files",
2280 .offset
= LOCAL_VAR(veto_files
),
2285 .label
= "hide files",
2288 .offset
= LOCAL_VAR(hide_files
),
2293 .label
= "veto oplock files",
2296 .offset
= LOCAL_VAR(veto_oplock_files
),
2301 .label
= "map archive",
2304 .offset
= LOCAL_VAR(map_archive
),
2309 .label
= "map hidden",
2312 .offset
= LOCAL_VAR(map_hidden
),
2317 .label
= "map system",
2320 .offset
= LOCAL_VAR(map_system
),
2325 .label
= "map readonly",
2328 .offset
= LOCAL_VAR(map_readonly
),
2330 .enum_list
= enum_map_readonly
,
2333 .label
= "mangled names",
2336 .offset
= LOCAL_VAR(mangled_names
),
2341 .label
= "max stat cache size",
2343 .p_class
= P_GLOBAL
,
2344 .offset
= GLOBAL_VAR(max_stat_cache_size
),
2349 .label
= "stat cache",
2351 .p_class
= P_GLOBAL
,
2352 .offset
= GLOBAL_VAR(stat_cache
),
2357 .label
= "store dos attributes",
2360 .offset
= LOCAL_VAR(store_dos_attributes
),
2365 .label
= "dmapi support",
2368 .offset
= LOCAL_VAR(dmapi_support
),
2373 .label
= "machine password timeout",
2375 .p_class
= P_GLOBAL
,
2376 .offset
= GLOBAL_VAR(machine_password_timeout
),
2381 .label
= "add user script",
2383 .p_class
= P_GLOBAL
,
2384 .offset
= GLOBAL_VAR(add_user_script
),
2389 .label
= "rename user script",
2391 .p_class
= P_GLOBAL
,
2392 .offset
= GLOBAL_VAR(rename_user_script
),
2397 .label
= "delete user script",
2399 .p_class
= P_GLOBAL
,
2400 .offset
= GLOBAL_VAR(delete_user_script
),
2405 .label
= "add group script",
2407 .p_class
= P_GLOBAL
,
2408 .offset
= GLOBAL_VAR(add_group_script
),
2413 .label
= "delete group script",
2415 .p_class
= P_GLOBAL
,
2416 .offset
= GLOBAL_VAR(delete_group_script
),
2421 .label
= "add user to group script",
2423 .p_class
= P_GLOBAL
,
2424 .offset
= GLOBAL_VAR(add_user_to_group_script
),
2429 .label
= "delete user from group script",
2431 .p_class
= P_GLOBAL
,
2432 .offset
= GLOBAL_VAR(delete_user_from_group_script
),
2437 .label
= "set primary group script",
2439 .p_class
= P_GLOBAL
,
2440 .offset
= GLOBAL_VAR(set_primary_group_script
),
2445 .label
= "add machine script",
2447 .p_class
= P_GLOBAL
,
2448 .offset
= GLOBAL_VAR(add_machine_script
),
2453 .label
= "shutdown script",
2455 .p_class
= P_GLOBAL
,
2456 .offset
= GLOBAL_VAR(shutdown_script
),
2461 .label
= "abort shutdown script",
2463 .p_class
= P_GLOBAL
,
2464 .offset
= GLOBAL_VAR(abort_shutdown_script
),
2469 .label
= "username map script",
2471 .p_class
= P_GLOBAL
,
2472 .offset
= GLOBAL_VAR(username_map_script
),
2477 .label
= "username map cache time",
2479 .p_class
= P_GLOBAL
,
2480 .offset
= GLOBAL_VAR(username_map_cache_time
),
2485 .label
= "logon script",
2487 .p_class
= P_GLOBAL
,
2488 .offset
= GLOBAL_VAR(logon_script
),
2493 .label
= "logon path",
2495 .p_class
= P_GLOBAL
,
2496 .offset
= GLOBAL_VAR(logon_path
),
2501 .label
= "logon drive",
2503 .p_class
= P_GLOBAL
,
2504 .offset
= GLOBAL_VAR(logon_drive
),
2509 .label
= "logon home",
2511 .p_class
= P_GLOBAL
,
2512 .offset
= GLOBAL_VAR(logon_home
),
2517 .label
= "domain logons",
2519 .p_class
= P_GLOBAL
,
2520 .offset
= GLOBAL_VAR(_domain_logons
),
2526 .label
= "init logon delayed hosts",
2528 .p_class
= P_GLOBAL
,
2529 .offset
= GLOBAL_VAR(init_logon_delayed_hosts
),
2535 .label
= "init logon delay",
2537 .p_class
= P_GLOBAL
,
2538 .offset
= GLOBAL_VAR(init_logon_delay
),
2544 .label
= "os level",
2546 .p_class
= P_GLOBAL
,
2547 .offset
= GLOBAL_VAR(os_level
),
2552 .label
= "lm announce",
2554 .p_class
= P_GLOBAL
,
2555 .offset
= GLOBAL_VAR(lm_announce
),
2557 .enum_list
= enum_bool_auto
,
2560 .label
= "lm interval",
2562 .p_class
= P_GLOBAL
,
2563 .offset
= GLOBAL_VAR(lm_interval
),
2568 .label
= "preferred master",
2570 .p_class
= P_GLOBAL
,
2571 .offset
= GLOBAL_VAR(iPreferredMaster
),
2573 .enum_list
= enum_bool_auto
,
2576 .label
= "prefered master",
2578 .p_class
= P_GLOBAL
,
2579 .offset
= GLOBAL_VAR(iPreferredMaster
),
2581 .enum_list
= enum_bool_auto
,
2582 .flags
= FLAG_SYNONYM
,
2585 .label
= "local master",
2587 .p_class
= P_GLOBAL
,
2588 .offset
= GLOBAL_VAR(local_master
),
2593 .label
= "domain master",
2595 .p_class
= P_GLOBAL
,
2596 .offset
= GLOBAL_VAR(_domain_master
),
2598 .enum_list
= enum_bool_auto
,
2601 .label
= "browse list",
2603 .p_class
= P_GLOBAL
,
2604 .offset
= GLOBAL_VAR(browse_list
),
2609 .label
= "browseable",
2612 .offset
= LOCAL_VAR(browseable
),
2617 .label
= "browsable",
2620 .offset
= LOCAL_VAR(browseable
),
2623 .flags
= FLAG_SYNONYM
,
2626 .label
= "access based share enum",
2629 .offset
= LOCAL_VAR(access_based_share_enum
),
2634 .label
= "enhanced browsing",
2636 .p_class
= P_GLOBAL
,
2637 .offset
= GLOBAL_VAR(enhanced_browsing
),
2642 .label
= "dns proxy",
2644 .p_class
= P_GLOBAL
,
2645 .offset
= GLOBAL_VAR(wins_dns_proxy
),
2650 .label
= "wins proxy",
2652 .p_class
= P_GLOBAL
,
2653 .offset
= GLOBAL_VAR(wins_proxy
),
2658 .label
= "wins server",
2660 .p_class
= P_GLOBAL
,
2661 .offset
= GLOBAL_VAR(wins_server_list
),
2666 .label
= "wins support",
2668 .p_class
= P_GLOBAL
,
2669 .offset
= GLOBAL_VAR(we_are_a_wins_server
),
2674 .label
= "wins hook",
2676 .p_class
= P_GLOBAL
,
2677 .offset
= GLOBAL_VAR(wins_hook
),
2682 .label
= "blocking locks",
2685 .offset
= LOCAL_VAR(blocking_locks
),
2690 .label
= "csc policy",
2693 .offset
= LOCAL_VAR(csc_policy
),
2695 .enum_list
= enum_csc_policy
,
2698 .label
= "fake oplocks",
2701 .offset
= LOCAL_VAR(fake_oplocks
),
2706 .label
= "kernel oplocks",
2709 .offset
= LOCAL_VAR(kernel_oplocks
),
2714 .label
= "kernel share modes",
2717 .offset
= LOCAL_VAR(kernel_share_modes
),
2722 .label
= "smb2 leases",
2724 .p_class
= P_GLOBAL
,
2725 .offset
= GLOBAL_VAR(smb2_leases
),
2733 .offset
= LOCAL_VAR(locking
),
2738 .label
= "lock spin time",
2740 .p_class
= P_GLOBAL
,
2741 .offset
= GLOBAL_VAR(lock_spin_time
),
2749 .offset
= LOCAL_VAR(oplocks
),
2754 .label
= "level2 oplocks",
2757 .offset
= LOCAL_VAR(level2_oplocks
),
2762 .label
= "oplock break wait time",
2764 .p_class
= P_GLOBAL
,
2765 .offset
= GLOBAL_VAR(oplock_break_wait_time
),
2770 .label
= "oplock contention limit",
2773 .offset
= LOCAL_VAR(oplock_contention_limit
),
2778 .label
= "posix locking",
2781 .offset
= LOCAL_VAR(posix_locking
),
2786 .label
= "strict locking",
2789 .offset
= LOCAL_VAR(strict_locking
),
2791 .enum_list
= enum_bool_auto
,
2794 .label
= "ldap admin dn",
2796 .p_class
= P_GLOBAL
,
2797 .offset
= GLOBAL_VAR(ldap_admin_dn
),
2802 .label
= "ldap delete dn",
2804 .p_class
= P_GLOBAL
,
2805 .offset
= GLOBAL_VAR(ldap_delete_dn
),
2810 .label
= "ldap group suffix",
2812 .p_class
= P_GLOBAL
,
2813 .offset
= GLOBAL_VAR(szLdapGroupSuffix
),
2818 .label
= "ldap idmap suffix",
2820 .p_class
= P_GLOBAL
,
2821 .offset
= GLOBAL_VAR(szLdapIdmapSuffix
),
2826 .label
= "ldap machine suffix",
2828 .p_class
= P_GLOBAL
,
2829 .offset
= GLOBAL_VAR(szLdapMachineSuffix
),
2834 .label
= "ldap passwd sync",
2836 .p_class
= P_GLOBAL
,
2837 .offset
= GLOBAL_VAR(ldap_passwd_sync
),
2839 .enum_list
= enum_ldap_passwd_sync
,
2842 .label
= "ldap password sync",
2844 .p_class
= P_GLOBAL
,
2845 .offset
= GLOBAL_VAR(ldap_passwd_sync
),
2847 .enum_list
= enum_ldap_passwd_sync
,
2848 .flags
= FLAG_SYNONYM
,
2851 .label
= "ldap replication sleep",
2853 .p_class
= P_GLOBAL
,
2854 .offset
= GLOBAL_VAR(ldap_replication_sleep
),
2859 .label
= "ldap suffix",
2861 .p_class
= P_GLOBAL
,
2862 .offset
= GLOBAL_VAR(ldap_suffix
),
2867 .label
= "ldap ssl",
2869 .p_class
= P_GLOBAL
,
2870 .offset
= GLOBAL_VAR(ldap_ssl
),
2872 .enum_list
= enum_ldap_ssl
,
2875 .label
= "ldap ssl ads",
2877 .p_class
= P_GLOBAL
,
2878 .offset
= GLOBAL_VAR(ldap_ssl_ads
),
2883 .label
= "ldap deref",
2885 .p_class
= P_GLOBAL
,
2886 .offset
= GLOBAL_VAR(ldap_deref
),
2888 .enum_list
= enum_ldap_deref
,
2891 .label
= "ldap follow referral",
2893 .p_class
= P_GLOBAL
,
2894 .offset
= GLOBAL_VAR(ldap_follow_referral
),
2896 .enum_list
= enum_bool_auto
,
2899 .label
= "ldap timeout",
2901 .p_class
= P_GLOBAL
,
2902 .offset
= GLOBAL_VAR(ldap_timeout
),
2907 .label
= "ldap connection timeout",
2909 .p_class
= P_GLOBAL
,
2910 .offset
= GLOBAL_VAR(ldap_connection_timeout
),
2915 .label
= "ldap page size",
2917 .p_class
= P_GLOBAL
,
2918 .offset
= GLOBAL_VAR(ldap_page_size
),
2923 .label
= "ldap user suffix",
2925 .p_class
= P_GLOBAL
,
2926 .offset
= GLOBAL_VAR(szLdapUserSuffix
),
2931 .label
= "ldap debug level",
2933 .p_class
= P_GLOBAL
,
2934 .offset
= GLOBAL_VAR(ldap_debug_level
),
2935 .special
= handle_ldap_debug_level
,
2939 .label
= "ldap debug threshold",
2941 .p_class
= P_GLOBAL
,
2942 .offset
= GLOBAL_VAR(ldap_debug_threshold
),
2947 .label
= "eventlog list",
2949 .p_class
= P_GLOBAL
,
2950 .offset
= GLOBAL_VAR(eventlog_list
),
2955 .label
= "add share command",
2957 .p_class
= P_GLOBAL
,
2958 .offset
= GLOBAL_VAR(add_share_command
),
2963 .label
= "change share command",
2965 .p_class
= P_GLOBAL
,
2966 .offset
= GLOBAL_VAR(change_share_command
),
2971 .label
= "delete share command",
2973 .p_class
= P_GLOBAL
,
2974 .offset
= GLOBAL_VAR(delete_share_command
),
2979 .label
= "config file",
2981 .p_class
= P_GLOBAL
,
2982 .offset
= GLOBAL_VAR(next_configfile
),
2989 .p_class
= P_GLOBAL
,
2990 .offset
= GLOBAL_VAR(auto_services
),
2995 .label
= "auto services",
2997 .p_class
= P_GLOBAL
,
2998 .offset
= GLOBAL_VAR(auto_services
),
3003 .label
= "lock directory",
3005 .p_class
= P_GLOBAL
,
3006 .offset
= GLOBAL_VAR(lock_directory
),
3011 .label
= "lock dir",
3013 .p_class
= P_GLOBAL
,
3014 .offset
= GLOBAL_VAR(lock_directory
),
3017 .flags
= FLAG_SYNONYM
,
3020 .label
= "state directory",
3022 .p_class
= P_GLOBAL
,
3023 .offset
= GLOBAL_VAR(state_directory
),
3028 .label
= "cache directory",
3030 .p_class
= P_GLOBAL
,
3031 .offset
= GLOBAL_VAR(cache_directory
),
3036 .label
= "pid directory",
3038 .p_class
= P_GLOBAL
,
3039 .offset
= GLOBAL_VAR(pid_directory
),
3044 .label
= "ntp signd socket directory",
3046 .p_class
= P_GLOBAL
,
3047 .offset
= GLOBAL_VAR(ntp_signd_socket_directory
),
3054 .label
= "utmp directory",
3056 .p_class
= P_GLOBAL
,
3057 .offset
= GLOBAL_VAR(utmp_directory
),
3062 .label
= "wtmp directory",
3064 .p_class
= P_GLOBAL
,
3065 .offset
= GLOBAL_VAR(wtmp_directory
),
3072 .p_class
= P_GLOBAL
,
3073 .offset
= GLOBAL_VAR(utmp
),
3079 .label
= "default service",
3081 .p_class
= P_GLOBAL
,
3082 .offset
= GLOBAL_VAR(defaultservice
),
3089 .p_class
= P_GLOBAL
,
3090 .offset
= GLOBAL_VAR(defaultservice
),
3095 .label
= "message command",
3097 .p_class
= P_GLOBAL
,
3098 .offset
= GLOBAL_VAR(message_command
),
3103 .label
= "dfree cache time",
3106 .offset
= LOCAL_VAR(dfree_cache_time
),
3111 .label
= "dfree command",
3114 .offset
= LOCAL_VAR(dfree_command
),
3119 .label
= "get quota command",
3121 .p_class
= P_GLOBAL
,
3122 .offset
= GLOBAL_VAR(get_quota_command
),
3127 .label
= "set quota command",
3129 .p_class
= P_GLOBAL
,
3130 .offset
= GLOBAL_VAR(set_quota_command
),
3135 .label
= "remote announce",
3137 .p_class
= P_GLOBAL
,
3138 .offset
= GLOBAL_VAR(remote_announce
),
3143 .label
= "remote browse sync",
3145 .p_class
= P_GLOBAL
,
3146 .offset
= GLOBAL_VAR(remote_browse_sync
),
3151 .label
= "nbt client socket address",
3153 .p_class
= P_GLOBAL
,
3154 .offset
= GLOBAL_VAR(nbt_client_socket_address
),
3157 .flags
= FLAG_DEPRECATED
,
3160 .label
= "socket address",
3162 .p_class
= P_GLOBAL
,
3163 .offset
= GLOBAL_VAR(nbt_client_socket_address
),
3166 .flags
= FLAG_DEPRECATED
,
3169 .label
= "nmbd bind explicit broadcast",
3171 .p_class
= P_GLOBAL
,
3172 .offset
= GLOBAL_VAR(nmbd_bind_explicit_broadcast
),
3177 .label
= "homedir map",
3179 .p_class
= P_GLOBAL
,
3180 .offset
= GLOBAL_VAR(homedir_map
),
3185 .label
= "afs username map",
3187 .p_class
= P_GLOBAL
,
3188 .offset
= GLOBAL_VAR(afs_username_map
),
3193 .label
= "afs token lifetime",
3195 .p_class
= P_GLOBAL
,
3196 .offset
= GLOBAL_VAR(afs_token_lifetime
),
3201 .label
= "log nt token command",
3203 .p_class
= P_GLOBAL
,
3204 .offset
= GLOBAL_VAR(log_nt_token_command
),
3209 .label
= "NIS homedir",
3211 .p_class
= P_GLOBAL
,
3212 .offset
= GLOBAL_VAR(nis_homedir
),
3220 .offset
= LOCAL_VAR(valid
),
3223 .flags
= FLAG_SYNONYM
,
3229 .offset
= LOCAL_VAR(szCopy
),
3230 .special
= handle_copy
,
3232 .flags
= FLAG_SYNONYM
,
3238 .offset
= LOCAL_VAR(szInclude
),
3239 .special
= handle_include
,
3246 .offset
= LOCAL_VAR(preexec
),
3254 .offset
= LOCAL_VAR(preexec
),
3259 .label
= "preexec close",
3262 .offset
= LOCAL_VAR(preexec_close
),
3267 .label
= "postexec",
3270 .offset
= LOCAL_VAR(postexec
),
3275 .label
= "root preexec",
3278 .offset
= LOCAL_VAR(root_preexec
),
3283 .label
= "root preexec close",
3286 .offset
= LOCAL_VAR(root_preexec_close
),
3291 .label
= "root postexec",
3294 .offset
= LOCAL_VAR(root_postexec
),
3299 .label
= "available",
3302 .offset
= LOCAL_VAR(bAvailable
),
3307 .label
= "registry shares",
3309 .p_class
= P_GLOBAL
,
3310 .offset
= GLOBAL_VAR(registry_shares
),
3315 .label
= "usershare allow guests",
3317 .p_class
= P_GLOBAL
,
3318 .offset
= GLOBAL_VAR(usershare_allow_guests
),
3323 .label
= "usershare max shares",
3325 .p_class
= P_GLOBAL
,
3326 .offset
= GLOBAL_VAR(usershare_max_shares
),
3331 .label
= "usershare owner only",
3333 .p_class
= P_GLOBAL
,
3334 .offset
= GLOBAL_VAR(usershare_owner_only
),
3339 .label
= "usershare path",
3341 .p_class
= P_GLOBAL
,
3342 .offset
= GLOBAL_VAR(usershare_path
),
3347 .label
= "usershare prefix allow list",
3349 .p_class
= P_GLOBAL
,
3350 .offset
= GLOBAL_VAR(usershare_prefix_allow_list
),
3355 .label
= "usershare prefix deny list",
3357 .p_class
= P_GLOBAL
,
3358 .offset
= GLOBAL_VAR(usershare_prefix_deny_list
),
3363 .label
= "usershare template share",
3365 .p_class
= P_GLOBAL
,
3366 .offset
= GLOBAL_VAR(usershare_template_share
),
3374 .offset
= LOCAL_VAR(volume
),
3382 .offset
= LOCAL_VAR(fstype
),
3387 .label
= "allow insecure wide links",
3389 .p_class
= P_GLOBAL
,
3390 .offset
= GLOBAL_VAR(allow_insecure_wide_links
),
3395 .label
= "wide links",
3398 .offset
= LOCAL_VAR(bWidelinks
),
3403 .label
= "follow symlinks",
3406 .offset
= LOCAL_VAR(follow_symlinks
),
3411 .label
= "dont descend",
3414 .offset
= LOCAL_VAR(dont_descend
),
3419 .label
= "magic script",
3422 .offset
= LOCAL_VAR(magic_script
),
3427 .label
= "magic output",
3430 .offset
= LOCAL_VAR(magic_output
),
3435 .label
= "delete readonly",
3438 .offset
= LOCAL_VAR(delete_readonly
),
3443 .label
= "dos filemode",
3446 .offset
= LOCAL_VAR(dos_filemode
),
3451 .label
= "dos filetimes",
3454 .offset
= LOCAL_VAR(dos_filetimes
),
3459 .label
= "dos filetime resolution",
3462 .offset
= LOCAL_VAR(dos_filetime_resolution
),
3467 .label
= "fake directory create times",
3470 .offset
= LOCAL_VAR(fake_directory_create_times
),
3475 .label
= "async smb echo handler",
3477 .p_class
= P_GLOBAL
,
3478 .offset
= GLOBAL_VAR(async_smb_echo_handler
),
3483 .label
= "panic action",
3485 .p_class
= P_GLOBAL
,
3486 .offset
= GLOBAL_VAR(panic_action
),
3491 .label
= "perfcount module",
3493 .p_class
= P_GLOBAL
,
3494 .offset
= GLOBAL_VAR(perfcount_module
),
3499 .label
= "vfs objects",
3502 .offset
= LOCAL_VAR(vfs_objects
),
3507 .label
= "vfs object",
3510 .offset
= LOCAL_VAR(vfs_objects
),
3513 .flags
= FLAG_SYNONYM
,
3516 .label
= "msdfs root",
3519 .offset
= LOCAL_VAR(msdfs_root
),
3524 .label
= "msdfs proxy",
3527 .offset
= LOCAL_VAR(msdfs_proxy
),
3532 .label
= "msdfs shuffle referrals",
3535 .offset
= LOCAL_VAR(msdfs_shuffle_referrals
),
3540 .label
= "host msdfs",
3542 .p_class
= P_GLOBAL
,
3543 .offset
= GLOBAL_VAR(host_msdfs
),
3548 .label
= "passdb expand explicit",
3550 .p_class
= P_GLOBAL
,
3551 .offset
= GLOBAL_VAR(passdb_expand_explicit
),
3556 .label
= "idmap backend",
3558 .p_class
= P_GLOBAL
,
3559 .offset
= GLOBAL_VAR(szIdmapBackend
),
3560 .special
= handle_idmap_backend
,
3562 .flags
= FLAG_DEPRECATED
,
3565 .label
= "idmap cache time",
3567 .p_class
= P_GLOBAL
,
3568 .offset
= GLOBAL_VAR(idmap_cache_time
),
3573 .label
= "idmap negative cache time",
3575 .p_class
= P_GLOBAL
,
3576 .offset
= GLOBAL_VAR(idmap_negative_cache_time
),
3581 .label
= "idmap uid",
3583 .p_class
= P_GLOBAL
,
3584 .offset
= GLOBAL_VAR(szIdmapUID
),
3585 .special
= handle_idmap_uid
,
3587 .flags
= FLAG_DEPRECATED
,
3590 .label
= "winbind uid",
3592 .p_class
= P_GLOBAL
,
3593 .offset
= GLOBAL_VAR(szIdmapUID
),
3594 .special
= handle_idmap_uid
,
3596 .flags
= FLAG_SYNONYM
,
3599 .label
= "idmap gid",
3601 .p_class
= P_GLOBAL
,
3602 .offset
= GLOBAL_VAR(szIdmapGID
),
3603 .special
= handle_idmap_gid
,
3605 .flags
= FLAG_DEPRECATED
,
3608 .label
= "winbind gid",
3610 .p_class
= P_GLOBAL
,
3611 .offset
= GLOBAL_VAR(szIdmapGID
),
3612 .special
= handle_idmap_gid
,
3614 .flags
= FLAG_SYNONYM
,
3617 .label
= "template homedir",
3619 .p_class
= P_GLOBAL
,
3620 .offset
= GLOBAL_VAR(template_homedir
),
3625 .label
= "template shell",
3627 .p_class
= P_GLOBAL
,
3628 .offset
= GLOBAL_VAR(template_shell
),
3633 .label
= "winbind separator",
3635 .p_class
= P_GLOBAL
,
3636 .offset
= GLOBAL_VAR(winbind_separator
),
3641 .label
= "winbind cache time",
3643 .p_class
= P_GLOBAL
,
3644 .offset
= GLOBAL_VAR(winbind_cache_time
),
3649 .label
= "winbind reconnect delay",
3651 .p_class
= P_GLOBAL
,
3652 .offset
= GLOBAL_VAR(winbind_reconnect_delay
),
3657 .label
= "winbind request timeout",
3659 .p_class
= P_GLOBAL
,
3660 .offset
= GLOBAL_VAR(winbind_request_timeout
),
3665 .label
= "winbind max clients",
3667 .p_class
= P_GLOBAL
,
3668 .offset
= GLOBAL_VAR(winbind_max_clients
),
3673 .label
= "winbind enum users",
3675 .p_class
= P_GLOBAL
,
3676 .offset
= GLOBAL_VAR(winbind_enum_users
),
3681 .label
= "winbind enum groups",
3683 .p_class
= P_GLOBAL
,
3684 .offset
= GLOBAL_VAR(winbind_enum_groups
),
3689 .label
= "winbind use default domain",
3691 .p_class
= P_GLOBAL
,
3692 .offset
= GLOBAL_VAR(winbind_use_default_domain
),
3697 .label
= "winbind trusted domains only",
3699 .p_class
= P_GLOBAL
,
3700 .offset
= GLOBAL_VAR(winbind_trusted_domains_only
),
3705 .label
= "winbind nested groups",
3707 .p_class
= P_GLOBAL
,
3708 .offset
= GLOBAL_VAR(winbind_nested_groups
),
3713 .label
= "winbind expand groups",
3715 .p_class
= P_GLOBAL
,
3716 .offset
= GLOBAL_VAR(winbind_expand_groups
),
3721 .label
= "winbind nss info",
3723 .p_class
= P_GLOBAL
,
3724 .offset
= GLOBAL_VAR(winbind_nss_info
),
3729 .label
= "winbind refresh tickets",
3731 .p_class
= P_GLOBAL
,
3732 .offset
= GLOBAL_VAR(winbind_refresh_tickets
),
3737 .label
= "winbind offline logon",
3739 .p_class
= P_GLOBAL
,
3740 .offset
= GLOBAL_VAR(winbind_offline_logon
),
3745 .label
= "winbind normalize names",
3747 .p_class
= P_GLOBAL
,
3748 .offset
= GLOBAL_VAR(winbind_normalize_names
),
3753 .label
= "winbind rpc only",
3755 .p_class
= P_GLOBAL
,
3756 .offset
= GLOBAL_VAR(winbind_rpc_only
),
3761 .label
= "create krb5 conf",
3763 .p_class
= P_GLOBAL
,
3764 .offset
= GLOBAL_VAR(create_krb5_conf
),
3769 .label
= "ncalrpc dir",
3771 .p_class
= P_GLOBAL
,
3772 .offset
= GLOBAL_VAR(ncalrpc_dir
),
3777 .label
= "winbind max domain connections",
3779 .p_class
= P_GLOBAL
,
3780 .offset
= GLOBAL_VAR(winbindMaxDomainConnections
),
3785 .label
= "winbindd socket directory",
3787 .p_class
= P_GLOBAL
,
3788 .offset
= GLOBAL_VAR(winbindd_socket_directory
),
3793 .label
= "winbindd privileged socket directory",
3795 .p_class
= P_GLOBAL
,
3796 .offset
= GLOBAL_VAR(winbindd_privileged_socket_directory
),
3801 .label
= "winbind sealed pipes",
3803 .p_class
= P_GLOBAL
,
3804 .offset
= GLOBAL_VAR(winbind_sealed_pipes
),
3809 .label
= "neutralize nt4 emulation",
3811 .p_class
= P_GLOBAL
,
3812 .offset
= GLOBAL_VAR(neutralize_nt4_emulation
),
3817 .label
= "reject md5 servers",
3819 .p_class
= P_GLOBAL
,
3820 .offset
= GLOBAL_VAR(reject_md5_servers
),
3825 .label
= "require strong key",
3827 .p_class
= P_GLOBAL
,
3828 .offset
= GLOBAL_VAR(require_strong_key
),
3833 .label
= "allow dns updates",
3835 .p_class
= P_GLOBAL
,
3836 .offset
= GLOBAL_VAR(allow_dns_updates
),
3838 .enum_list
= enum_dns_update_settings
,
3841 .label
= "dns forwarder",
3843 .p_class
= P_GLOBAL
,
3844 .offset
= GLOBAL_VAR(dns_forwarder
),
3849 .label
= "dns update command",
3851 .p_class
= P_GLOBAL
,
3852 .offset
= GLOBAL_VAR(dns_update_command
),
3857 .label
= "nsupdate command",
3859 .p_class
= P_GLOBAL
,
3860 .offset
= GLOBAL_VAR(nsupdate_command
),
3865 .label
= "rndc command",
3867 .p_class
= P_GLOBAL
,
3868 .offset
= GLOBAL_VAR(rndc_command
),
3873 .label
= "multicast dns register",
3875 .p_class
= P_GLOBAL
,
3876 .offset
= GLOBAL_VAR(multicast_dns_register
),
3881 .label
= "samba kcc command",
3883 .p_class
= P_GLOBAL
,
3884 .offset
= GLOBAL_VAR(samba_kcc_command
),
3889 .label
= "server services",
3891 .p_class
= P_GLOBAL
,
3892 .offset
= GLOBAL_VAR(server_services
),
3897 .label
= "dcerpc endpoint servers",
3899 .p_class
= P_GLOBAL
,
3900 .offset
= GLOBAL_VAR(dcerpc_endpoint_servers
),
3905 .label
= "spn update command",
3907 .p_class
= P_GLOBAL
,
3908 .offset
= GLOBAL_VAR(spn_update_command
),
3913 .label
= "share backend",
3915 .p_class
= P_GLOBAL
,
3916 .offset
= GLOBAL_VAR(share_backend
),
3921 .label
= "ntvfs handler",
3924 .offset
= LOCAL_VAR(ntvfs_handler
),
3929 .label
= "allow nt4 crypto",
3931 .p_class
= P_GLOBAL
,
3932 .offset
= GLOBAL_VAR(allow_nt4_crypto
),
3937 .label
= "reject md5 clients",
3939 .p_class
= P_GLOBAL
,
3940 .offset
= GLOBAL_VAR(reject_md5_clients
),
3945 .label
= "tls enabled",
3947 .p_class
= P_GLOBAL
,
3948 .offset
= GLOBAL_VAR(tls_enabled
),
3953 .label
= "tls keyfile",
3955 .p_class
= P_GLOBAL
,
3956 .offset
= GLOBAL_VAR(_tls_keyfile
),
3961 .label
= "tls certfile",
3963 .p_class
= P_GLOBAL
,
3964 .offset
= GLOBAL_VAR(_tls_certfile
),
3969 .label
= "tls cafile",
3971 .p_class
= P_GLOBAL
,
3972 .offset
= GLOBAL_VAR(_tls_cafile
),
3977 .label
= "tls crlfile",
3979 .p_class
= P_GLOBAL
,
3980 .offset
= GLOBAL_VAR(_tls_crlfile
),
3985 .label
= "tls dh params file",
3987 .p_class
= P_GLOBAL
,
3988 .offset
= GLOBAL_VAR(_tls_dhpfile
),
3993 {NULL
, P_BOOL
, P_NONE
, 0, NULL
, NULL
, 0}
3996 int num_parameters(void)
3998 return (sizeof(parm_table
) / sizeof(struct parm_struct
));