lib/param: Put common FN_ macros into param_functions.c
[kai/samba.git] / lib / param / param_functions.c
1 /*
2    Unix SMB/CIFS implementation.
3    Parameter loading functions
4    Copyright (C) Karl Auer 1993-1998
5
6    Largely re-written by Andrew Tridgell, September 1994
7
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
15
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.
20
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.
25
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/>.
28 */
29
30 FN_LOCAL_STRING(pathname, szPath)
31 FN_LOCAL_LIST(hostsallow, szHostsallow)
32 FN_LOCAL_LIST(hostsdeny, szHostsdeny)
33 FN_LOCAL_STRING(fstype, fstype)
34 FN_LOCAL_LIST(ntvfs_handler, ntvfs_handler)
35 FN_LOCAL_BOOL(msdfs_root, bMSDfsRoot)
36 FN_LOCAL_BOOL(browseable, bBrowseable)
37 FN_LOCAL_BOOL(readonly, bRead_only)
38 FN_LOCAL_BOOL(print_ok, bPrint_ok)
39 FN_LOCAL_BOOL(map_hidden, bMap_hidden)
40 FN_LOCAL_BOOL(map_archive, bMap_archive)
41 FN_LOCAL_BOOL(oplocks, bOpLocks)
42 FN_LOCAL_BOOL(strict_sync, bStrictSync)
43 FN_LOCAL_BOOL(ci_filesystem, bCIFileSystem)
44 FN_LOCAL_BOOL(map_system, bMap_system)
45 FN_LOCAL_INTEGER(max_connections, iMaxConnections)
46 FN_LOCAL_INTEGER(csc_policy, iCSCPolicy)
47 FN_LOCAL_INTEGER(create_mask, iCreate_mask)
48 FN_LOCAL_INTEGER(force_create_mode, iCreate_force_mode)
49 FN_LOCAL_INTEGER(dir_mask, iDir_mask)
50 FN_LOCAL_INTEGER(force_dir_mode, iDir_force_mode)
51 FN_LOCAL_STRING(preexec, szPreExec)
52 FN_LOCAL_STRING(postexec, szPostExec)
53 FN_LOCAL_STRING(rootpreexec, szRootPreExec)
54 FN_LOCAL_STRING(rootpostexec, szRootPostExec)
55 FN_LOCAL_STRING(dontdescend, szDontdescend)
56 FN_LOCAL_STRING(username, szUsername)
57 FN_LOCAL_LIST(invalid_users, szInvalidUsers)
58 FN_LOCAL_LIST(valid_users, szValidUsers)
59 FN_LOCAL_LIST(admin_users, szAdminUsers)
60 FN_LOCAL_STRING(printcommand, szPrintcommand)
61 FN_LOCAL_STRING(lpqcommand, szLpqcommand)
62 FN_LOCAL_STRING(lprmcommand, szLprmcommand)
63 FN_LOCAL_STRING(lppausecommand, szLppausecommand)
64 FN_LOCAL_STRING(lpresumecommand, szLpresumecommand)
65 FN_LOCAL_STRING(queuepausecommand, szQueuepausecommand)
66 FN_LOCAL_STRING(queueresumecommand, szQueueresumecommand)
67 static FN_LOCAL_STRING(_printername, szPrintername)
68 FN_LOCAL_CONST_STRING(printjob_username, szPrintjobUsername)
69 FN_LOCAL_STRING(magicscript, szMagicScript)
70 FN_LOCAL_STRING(magicoutput, szMagicOutput)
71 FN_LOCAL_STRING(comment, comment)
72 FN_LOCAL_STRING(force_user, force_user)
73 FN_LOCAL_STRING(force_group, force_group)
74 FN_LOCAL_LIST(readlist, readlist)
75 FN_LOCAL_LIST(writelist, writelist)
76 FN_LOCAL_LIST(printer_admin, printer_admin)
77 FN_LOCAL_LIST(vfs_objects, szVfsObjects)
78 FN_LOCAL_STRING(msdfs_proxy, szMSDfsProxy)
79 static FN_LOCAL_STRING(volume, volume)
80 FN_LOCAL_STRING(veto_files, szVetoFiles)
81 FN_LOCAL_STRING(hide_files, szHideFiles)
82 FN_LOCAL_STRING(veto_oplocks, szVetoOplockFiles)
83 FN_LOCAL_STRING(aio_write_behind, szAioWriteBehind)
84 FN_LOCAL_STRING(dfree_command, szDfree)
85 FN_LOCAL_BOOL(autoloaded, autoloaded)
86 FN_LOCAL_BOOL(preexec_close, bPreexecClose)
87 FN_LOCAL_BOOL(rootpreexec_close, bRootpreexecClose)
88 FN_LOCAL_INTEGER(casesensitive, iCaseSensitive)
89 FN_LOCAL_BOOL(preservecase, bCasePreserve)
90 FN_LOCAL_BOOL(shortpreservecase, bShortCasePreserve)
91 FN_LOCAL_BOOL(hide_dot_files, bHideDotFiles)
92 FN_LOCAL_BOOL(hide_special_files, bHideSpecialFiles)
93 FN_LOCAL_BOOL(hideunreadable, bHideUnReadable)
94 FN_LOCAL_BOOL(hideunwriteable_files, bHideUnWriteableFiles)
95 FN_LOCAL_BOOL(access_based_share_enum, bAccessBasedShareEnum)
96 FN_LOCAL_BOOL(no_set_dir, bNo_set_dir)
97 FN_LOCAL_BOOL(guest_ok, bGuest_ok)
98 FN_LOCAL_BOOL(guest_only, bGuest_only)
99 FN_LOCAL_BOOL(administrative_share, bAdministrative_share)
100 FN_LOCAL_BOOL(print_notify_backchannel, bPrintNotifyBackchannel)
101 FN_LOCAL_BOOL(store_dos_attributes, bStoreDosAttributes)
102 FN_LOCAL_BOOL(dmapi_support, bDmapiSupport)
103 FN_LOCAL_PARM_BOOL(locking, bLocking)
104 FN_LOCAL_PARM_INTEGER(strict_locking, iStrictLocking)
105 FN_LOCAL_PARM_BOOL(posix_locking, bPosixLocking)
106 FN_LOCAL_BOOL(share_modes, bShareModes)
107 FN_LOCAL_BOOL(kernel_oplocks, bKernelOplocks)
108 FN_LOCAL_BOOL(level2_oplocks, bLevel2OpLocks)
109 FN_LOCAL_BOOL(onlyuser, bOnlyUser)
110 FN_LOCAL_PARM_BOOL(manglednames, bMangledNames)
111 FN_LOCAL_BOOL(symlinks, bSymlinks)
112 FN_LOCAL_BOOL(syncalways, bSyncAlways)
113 FN_LOCAL_BOOL(strict_allocate, bStrictAllocate)
114 FN_LOCAL_BOOL(delete_readonly, bDeleteReadonly)
115 FN_LOCAL_BOOL(fake_oplocks, bFakeOplocks)
116 FN_LOCAL_BOOL(recursive_veto_delete, bDeleteVetoFiles)
117 FN_LOCAL_BOOL(dos_filemode, bDosFilemode)
118 FN_LOCAL_BOOL(dos_filetimes, bDosFiletimes)
119 FN_LOCAL_BOOL(dos_filetime_resolution, bDosFiletimeResolution)
120 FN_LOCAL_BOOL(fake_dir_create_times, bFakeDirCreateTimes)
121 FN_LOCAL_BOOL(blocking_locks, bBlockingLocks)
122 FN_LOCAL_BOOL(inherit_perms, bInheritPerms)
123 FN_LOCAL_BOOL(inherit_acls, bInheritACLS)
124 FN_LOCAL_BOOL(inherit_owner, bInheritOwner)
125 FN_LOCAL_BOOL(use_client_driver, bUseClientDriver)
126 FN_LOCAL_BOOL(default_devmode, bDefaultDevmode)
127 FN_LOCAL_BOOL(force_printername, bForcePrintername)
128 FN_LOCAL_BOOL(nt_acl_support, bNTAclSupport)
129 FN_LOCAL_BOOL(force_unknown_acl_user, bForceUnknownAclUser)
130 FN_LOCAL_BOOL(ea_support, bEASupport)
131 FN_LOCAL_BOOL(_use_sendfile, bUseSendfile)
132 FN_LOCAL_BOOL(profile_acls, bProfileAcls)
133 FN_LOCAL_BOOL(map_acl_inherit, bMap_acl_inherit)
134 FN_LOCAL_BOOL(afs_share, bAfs_Share)
135 FN_LOCAL_BOOL(acl_check_permissions, bAclCheckPermissions)
136 FN_LOCAL_BOOL(acl_group_control, bAclGroupControl)
137 FN_LOCAL_BOOL(acl_map_full_control, bAclMapFullControl)
138 FN_LOCAL_INTEGER(security_mask, iSecurity_mask)
139 FN_LOCAL_INTEGER(force_security_mode, iSecurity_force_mode)
140 FN_LOCAL_INTEGER(dir_security_mask, iDir_Security_mask)
141 FN_LOCAL_INTEGER(force_dir_security_mode, iDir_Security_force_mode)
142 FN_LOCAL_INTEGER(defaultcase, iDefaultCase)
143 FN_LOCAL_INTEGER(minprintspace, iMinPrintSpace)
144 FN_LOCAL_INTEGER(printing, iPrinting)
145 FN_LOCAL_INTEGER(max_reported_jobs, iMaxReportedPrintJobs)
146 FN_LOCAL_INTEGER(oplock_contention_limit, iOplockContentionLimit)
147 FN_LOCAL_INTEGER(write_cache_size, iWriteCacheSize)
148 FN_LOCAL_INTEGER(block_size, iBlock_size)
149 FN_LOCAL_INTEGER(dfree_cache_time, iDfreeCacheTime)
150 FN_LOCAL_INTEGER(allocation_roundup_size, iallocation_roundup_size)
151 FN_LOCAL_INTEGER(aio_read_size, iAioReadSize)
152 FN_LOCAL_INTEGER(aio_write_size, iAioWriteSize)
153 FN_LOCAL_INTEGER(map_readonly, iMap_readonly)
154 FN_LOCAL_INTEGER(directory_name_cache_size, iDirectoryNameCacheSize)
155 FN_LOCAL_INTEGER(smb_encrypt, ismb_encrypt)
156 FN_LOCAL_CHAR(magicchar, magic_char)
157 FN_LOCAL_STRING(cups_options, szCupsOptions)
158 FN_LOCAL_PARM_BOOL(change_notify, bChangeNotify)
159 FN_LOCAL_PARM_BOOL(kernel_change_notify, bKernelChangeNotify)
160
161 FN_GLOBAL_BOOL(allow_insecure_widelinks, bAllowInsecureWidelinks)
162 FN_GLOBAL_BOOL(allow_trusted_domains, bAllowTrustedDomains)
163 FN_GLOBAL_BOOL(async_smb_echo_handler, bAsyncSMBEchoHandler)
164 FN_GLOBAL_BOOL(bind_interfaces_only, bBindInterfacesOnly)
165 FN_GLOBAL_BOOL(browse_list, bBrowseList)
166 FN_GLOBAL_BOOL(client_lanman_auth, bClientLanManAuth)
167 FN_GLOBAL_BOOL(client_ntlmv2_auth, bClientNTLMv2Auth)
168 FN_GLOBAL_BOOL(client_plaintext_auth, bClientPlaintextAuth)
169 FN_GLOBAL_BOOL(client_use_spnego, bClientUseSpnego)
170 FN_GLOBAL_BOOL(client_use_spnego_principal, client_use_spnego_principal)
171 FN_GLOBAL_BOOL(clustering, clustering)
172 FN_GLOBAL_BOOL(create_krb5_conf, bCreateKrb5Conf)
173 FN_GLOBAL_BOOL(debug_class, bDebugClass)
174 FN_GLOBAL_BOOL(debug_hires_timestamp, bDebugHiresTimestamp)
175 FN_GLOBAL_BOOL(debug_pid, bDebugPid)
176 FN_GLOBAL_BOOL(debug_prefix_timestamp, bDebugPrefixTimestamp)
177 FN_GLOBAL_BOOL(debug_uid, bDebugUid)
178 FN_GLOBAL_BOOL(defer_sharing_violations, bDeferSharingViolations)
179 FN_GLOBAL_BOOL(disable_netbios, bDisableNetbios)
180 FN_GLOBAL_BOOL(_disable_spoolss, bDisableSpoolss)
181 FN_GLOBAL_BOOL(dns_recursive_queries, dns_recursive_queries)
182 FN_GLOBAL_BOOL(enable_asu_support, bASUSupport)
183 FN_GLOBAL_BOOL(enable_core_files, bEnableCoreFiles)
184 FN_GLOBAL_BOOL(enable_privileges, bEnablePrivileges)
185 FN_GLOBAL_BOOL(encrypted_passwords, bEncryptPasswords)
186 FN_GLOBAL_BOOL(enhanced_browsing, enhanced_browsing)
187 FN_GLOBAL_BOOL(getwd_cache, getwd_cache)
188 FN_GLOBAL_BOOL(host_msdfs, bHostMSDfs)
189 FN_GLOBAL_BOOL(hostname_lookups, bHostnameLookups)
190 FN_GLOBAL_BOOL(lanman_auth, bLanmanAuth)
191 FN_GLOBAL_BOOL(large_readwrite, bLargeReadwrite)
192 FN_GLOBAL_BOOL(ldap_delete_dn, ldap_delete_dn)
193 FN_GLOBAL_BOOL(ldap_ssl_ads, ldap_ssl_ads)
194 FN_GLOBAL_BOOL(load_printers, bLoadPrinters)
195 FN_GLOBAL_BOOL(local_master, bLocalMaster)
196 FN_GLOBAL_BOOL(log_writeable_files_on_exit, bLogWriteableFilesOnExit)
197 FN_GLOBAL_BOOL(map_untrusted_to_domain, bMapUntrustedToDomain)
198 FN_GLOBAL_BOOL(ms_add_printer_wizard, bMsAddPrinterWizard)
199 FN_GLOBAL_BOOL(multicast_dns_register, bMulticastDnsRegister)
200 FN_GLOBAL_BOOL(nis_home_map, bNISHomeMap)
201 FN_GLOBAL_BOOL(nmbd_bind_explicit_broadcast, bNmbdBindExplicitBroadcast)
202 FN_GLOBAL_BOOL(ntlm_auth, bNTLMAuth)
203 FN_GLOBAL_BOOL(nt_pipe_support, bNTPipeSupport)
204 FN_GLOBAL_BOOL(nt_status_support, bNTStatusSupport)
205 FN_GLOBAL_BOOL(null_passwords, bNullPasswords)
206 FN_GLOBAL_BOOL(obey_pam_restrictions, bObeyPamRestrictions)
207 FN_GLOBAL_BOOL(pam_password_change, bPamPasswordChange)
208 FN_GLOBAL_BOOL(paranoid_server_security, paranoid_server_security)
209 FN_GLOBAL_BOOL(passdb_expand_explicit, bPassdbExpandExplicit)
210 FN_GLOBAL_BOOL(passwd_chat_debug, bPasswdChatDebug)
211 FN_GLOBAL_BOOL(registry_shares, bRegistryShares)
212 FN_GLOBAL_BOOL(reset_on_zero_vc, bResetOnZeroVC)
213 FN_GLOBAL_BOOL(rpc_big_endian, bRpcBigEndian)
214 FN_GLOBAL_BOOL(stat_cache, bStatCache)
215 FN_GLOBAL_BOOL(syslog_only, bSyslogOnly)
216 FN_GLOBAL_BOOL(timestamp_logs, bTimestampLogs)
217 FN_GLOBAL_BOOL(tls_enabled, tls_enabled)
218 FN_GLOBAL_BOOL(unix_extensions, bUnixExtensions)
219 FN_GLOBAL_BOOL(unix_password_sync, bUnixPasswdSync)
220 FN_GLOBAL_BOOL(use_mmap, bUseMmap)
221 FN_GLOBAL_BOOL(usershare_allow_guests, bUsershareAllowGuests)
222 FN_GLOBAL_BOOL(usershare_owner_only, bUsershareOwnerOnly)
223 FN_GLOBAL_BOOL(use_spnego, bUseSpnego)
224 FN_GLOBAL_BOOL(utmp, bUtmp)
225 FN_GLOBAL_BOOL(we_are_a_wins_server, bWINSsupport)
226 FN_GLOBAL_BOOL(winbind_enum_groups, bWinbindEnumGroups)
227 FN_GLOBAL_BOOL(winbind_enum_users, bWinbindEnumUsers)
228 FN_GLOBAL_BOOL(winbind_nested_groups, bWinbindNestedGroups)
229 FN_GLOBAL_BOOL(winbind_normalize_names, bWinbindNormalizeNames)
230 FN_GLOBAL_BOOL(winbind_offline_logon, bWinbindOfflineLogon)
231 FN_GLOBAL_BOOL(winbind_refresh_tickets, bWinbindRefreshTickets)
232 FN_GLOBAL_BOOL(winbind_rpc_only, bWinbindRpcOnly)
233 FN_GLOBAL_BOOL(winbind_sealed_pipes, bWinbindSealedPipes)
234 FN_GLOBAL_BOOL(winbind_trusted_domains_only, bWinbindTrustedDomainsOnly)
235 FN_GLOBAL_BOOL(winbind_use_default_domain, bWinbindUseDefaultDomain)
236 FN_GLOBAL_BOOL(wins_dns_proxy, bWINSdnsProxy)
237 FN_GLOBAL_BOOL(wins_proxy, bWINSproxy)
238 FN_GLOBAL_CONST_STRING(afs_username_map, szAfsUsernameMap)
239 FN_GLOBAL_CONST_STRING(dedicated_keytab_file, szDedicatedKeytabFile)
240 FN_GLOBAL_CONST_STRING(dnsdomain, szRealm_lower)
241 FN_GLOBAL_CONST_STRING(dns_forwarder, dns_forwarder)
242 FN_GLOBAL_CONST_STRING(dos_charset, dos_charset)
243 FN_GLOBAL_CONST_STRING(guestaccount, szGuestaccount)
244 FN_GLOBAL_CONST_STRING(idmap_backend, szIdmapBackend)
245 FN_GLOBAL_CONST_STRING(lockdir, szLockDir)
246 FN_GLOBAL_CONST_STRING(logon_drive, szLogonDrive)
247 FN_GLOBAL_CONST_STRING(logon_home, szLogonHome)
248 FN_GLOBAL_CONST_STRING(logon_path, szLogonPath)
249 FN_GLOBAL_CONST_STRING(logon_script, szLogonScript)
250 FN_GLOBAL_CONST_STRING(ncalrpc_dir, ncalrpc_dir)
251 FN_GLOBAL_CONST_STRING(netbios_name, szNetbiosName)
252 FN_GLOBAL_CONST_STRING(netbios_scope, szNetbiosScope)
253 FN_GLOBAL_CONST_STRING(ntp_signd_socket_directory, szNTPSignDSocketDirectory)
254 FN_GLOBAL_CONST_STRING(passdb_backend, passdb_backend)
255 FN_GLOBAL_CONST_STRING(passwordserver, szPasswordServer)
256 FN_GLOBAL_CONST_STRING(piddir, szPidDir)
257 FN_GLOBAL_CONST_STRING(private_dir, szPrivateDir)
258 FN_GLOBAL_CONST_STRING(realm, szRealm_upper)
259 FN_GLOBAL_CONST_STRING(smb_passwd_file, szSMBPasswdFile)
260 FN_GLOBAL_CONST_STRING(socket_options, socket_options)
261 FN_GLOBAL_CONST_STRING(template_homedir, szTemplateHomedir)
262 FN_GLOBAL_CONST_STRING(template_shell, szTemplateShell)
263 FN_GLOBAL_CONST_STRING(unix_charset, unix_charset)
264 FN_GLOBAL_CONST_STRING(utmpdir, szUtmpDir)
265 FN_GLOBAL_CONST_STRING(winbindd_privileged_socket_directory, szWinbinddPrivilegedSocketDirectory)
266 FN_GLOBAL_CONST_STRING(winbindd_socket_directory, szWinbinddSocketDirectory)
267 FN_GLOBAL_CONST_STRING(winbind_separator, szWinbindSeparator)
268 FN_GLOBAL_CONST_STRING(workgroup, szWorkgroup)
269 FN_GLOBAL_CONST_STRING(wtmpdir, szWtmpDir)
270 FN_GLOBAL_INTEGER(acl_compatibility, iAclCompat)
271 FN_GLOBAL_INTEGER(afs_token_lifetime, iAfsTokenLifetime)
272 FN_GLOBAL_INTEGER(algorithmic_rid_base, AlgorithmicRidBase)
273 FN_GLOBAL_INTEGER(allow_dns_updates, allow_dns_updates)
274 FN_GLOBAL_INTEGER(cldap_port, cldap_port)
275 FN_GLOBAL_INTEGER(client_ldap_sasl_wrapping, client_ldap_sasl_wrapping)
276 FN_GLOBAL_INTEGER(client_schannel, clientSchannel)
277 FN_GLOBAL_INTEGER(client_signing, client_signing)
278 FN_GLOBAL_INTEGER(cli_maxprotocol, cli_maxprotocol)
279 FN_GLOBAL_INTEGER(cli_minprotocol, cli_minprotocol)
280 FN_GLOBAL_INTEGER(config_backend, ConfigBackend)
281 FN_GLOBAL_INTEGER(ctdb_locktime_warn_threshold, ctdb_locktime_warn_threshold)
282 FN_GLOBAL_INTEGER(ctdb_timeout, ctdb_timeout)
283 FN_GLOBAL_INTEGER(cups_connection_timeout, cups_connection_timeout)
284 FN_GLOBAL_INTEGER(deadtime, deadtime)
285 FN_GLOBAL_INTEGER(dgram_port, dgram_port)
286 FN_GLOBAL_INTEGER(idmap_cache_time, iIdmapCacheTime)
287 FN_GLOBAL_INTEGER(idmap_negative_cache_time, iIdmapNegativeCacheTime)
288 FN_GLOBAL_INTEGER(init_logon_delay, InitLogonDelay)
289 FN_GLOBAL_INTEGER(keepalive, iKeepalive)
290 FN_GLOBAL_INTEGER(kerberos_method, iKerberosMethod)
291 FN_GLOBAL_INTEGER(kpasswd_port, kpasswd_port)
292 FN_GLOBAL_INTEGER(krb5_port, krb5_port)
293 FN_GLOBAL_INTEGER(ldap_connection_timeout, ldap_connection_timeout)
294 FN_GLOBAL_INTEGER(ldap_debug_level, ldap_debug_level)
295 FN_GLOBAL_INTEGER(ldap_debug_threshold, ldap_debug_threshold)
296 FN_GLOBAL_INTEGER(ldap_deref, ldap_deref)
297 FN_GLOBAL_INTEGER(ldap_follow_referral, ldap_follow_referral)
298 FN_GLOBAL_INTEGER(ldap_page_size, ldap_page_size)
299 FN_GLOBAL_INTEGER(ldap_passwd_sync, ldap_passwd_sync)
300 FN_GLOBAL_INTEGER(ldap_replication_sleep, ldap_replication_sleep)
301 FN_GLOBAL_INTEGER(ldap_ssl, ldap_ssl)
302 FN_GLOBAL_INTEGER(ldap_timeout, ldap_timeout)
303 FN_GLOBAL_INTEGER(lm_announce, lm_announce)
304 FN_GLOBAL_INTEGER(lm_interval, lm_interval)
305 FN_GLOBAL_INTEGER(lock_spin_time, iLockSpinTime)
306 FN_GLOBAL_INTEGER(lpqcachetime, lpqcachetime)
307 FN_GLOBAL_INTEGER(machine_password_timeout, machine_password_timeout)
308 FN_GLOBAL_INTEGER(mangle_prefix, mangle_prefix)
309 FN_GLOBAL_INTEGER(map_to_guest, map_to_guest)
310 FN_GLOBAL_INTEGER(maxdisksize, maxdisksize)
311 FN_GLOBAL_INTEGER(max_log_size, max_log_size)
312 FN_GLOBAL_INTEGER(maxmux, max_mux)
313 FN_GLOBAL_INTEGER(max_open_files, max_open_files)
314 FN_GLOBAL_INTEGER(max_smbd_processes, iMaxSmbdProcesses)
315 FN_GLOBAL_INTEGER(max_stat_cache_size, iMaxStatCacheSize)
316 FN_GLOBAL_INTEGER(max_ttl, max_ttl)
317 FN_GLOBAL_INTEGER(max_wins_ttl, max_wins_ttl)
318 FN_GLOBAL_INTEGER(max_xmit, max_xmit)
319 FN_GLOBAL_INTEGER(min_wins_ttl, min_wins_ttl)
320 FN_GLOBAL_INTEGER(name_cache_timeout, name_cache_timeout)
321 FN_GLOBAL_INTEGER(nbt_port, nbt_port)
322 FN_GLOBAL_INTEGER(open_files_db_hash_size, open_files_db_hash_size)
323 FN_GLOBAL_INTEGER(oplock_break_wait_time, oplock_break_wait_time)
324 FN_GLOBAL_INTEGER(os_level, os_level)
325 FN_GLOBAL_INTEGER(passwd_chat_timeout, iPasswdChatTimeout)
326 FN_GLOBAL_INTEGER(passwordlevel, pwordlevel)
327 FN_GLOBAL_INTEGER(printcap_cache_time, PrintcapCacheTime)
328 FN_GLOBAL_INTEGER(restrict_anonymous, restrict_anonymous)
329 FN_GLOBAL_INTEGER(server_schannel, serverSchannel)
330 FN_GLOBAL_INTEGER(server_signing, server_signing)
331 FN_GLOBAL_INTEGER(smb2_max_read, ismb2_max_read)
332 FN_GLOBAL_INTEGER(smb2_max_trans, ismb2_max_trans)
333 FN_GLOBAL_INTEGER(smb2_max_write, ismb2_max_write)
334 FN_GLOBAL_INTEGER(srv_maxprotocol, srv_maxprotocol)
335 FN_GLOBAL_INTEGER(srv_minprotocol, srv_minprotocol)
336 FN_GLOBAL_INTEGER(syslog, syslog)
337 FN_GLOBAL_INTEGER(usernamelevel, unamelevel)
338 FN_GLOBAL_INTEGER(username_map_cache_time, iUsernameMapCacheTime)
339 FN_GLOBAL_INTEGER(web_port, web_port)
340 FN_GLOBAL_INTEGER(winbind_cache_time, winbind_cache_time)
341 FN_GLOBAL_INTEGER(winbind_expand_groups, winbind_expand_groups)
342 FN_GLOBAL_INTEGER(winbind_max_clients, winbind_max_clients)
343 FN_GLOBAL_INTEGER(winbind_reconnect_delay, winbind_reconnect_delay)
344 FN_GLOBAL_LIST(auth_methods, AuthMethods)
345 FN_GLOBAL_LIST(cluster_addresses, szClusterAddresses)
346 FN_GLOBAL_LIST(dcerpc_endpoint_servers, dcerpc_ep_servers)
347 FN_GLOBAL_LIST(dns_update_command, szDNSUpdateCommand)
348 FN_GLOBAL_LIST(eventlog_list, szEventLogs)
349 FN_GLOBAL_LIST(init_logon_delayed_hosts, szInitLogonDelayedHosts)
350 FN_GLOBAL_LIST(interfaces, szInterfaces)
351 FN_GLOBAL_LIST(netbios_aliases, szNetbiosAliases)
352 FN_GLOBAL_LIST(nsupdate_command, szNSUpdateCommand)
353 FN_GLOBAL_LIST(preload_modules, szPreloadModules)
354 FN_GLOBAL_LIST(rndc_command, szRNDCCommand)
355 FN_GLOBAL_LIST(samba_kcc_command, szSambaKCCCommand)
356 FN_GLOBAL_LIST(server_services, server_services)
357 FN_GLOBAL_LIST(spn_update_command, szSPNUpdateCommand)
358 FN_GLOBAL_LIST(svcctl_list, szServicesList)
359 FN_GLOBAL_LIST(usershare_prefix_allow_list, szUsersharePrefixAllowList)
360 FN_GLOBAL_LIST(usershare_prefix_deny_list, szUsersharePrefixDenyList)
361 FN_GLOBAL_LIST(winbind_nss_info, szWinbindNssInfo)
362 FN_GLOBAL_LIST(wins_server_list, szWINSservers)
363 FN_GLOBAL_STRING(abort_shutdown_script, szAbortShutdownScript)
364 FN_GLOBAL_STRING(addgroup_script, szAddGroupScript)
365 FN_GLOBAL_STRING(addmachine_script, szAddMachineScript)
366 FN_GLOBAL_STRING(addport_cmd, szAddPortCommand)
367 FN_GLOBAL_STRING(addprinter_cmd, szAddPrinterCommand)
368 FN_GLOBAL_STRING(add_share_cmd, szAddShareCommand)
369 FN_GLOBAL_STRING(adduser_script, szAddUserScript)
370 FN_GLOBAL_STRING(addusertogroup_script, szAddUserToGroupScript)
371 FN_GLOBAL_STRING(auto_services, szAutoServices)
372 FN_GLOBAL_STRING(change_share_cmd, szChangeShareCommand)
373 FN_GLOBAL_STRING(check_password_script, szCheckPasswordScript)
374 FN_GLOBAL_STRING(cups_server, szCupsServer)
375 FN_GLOBAL_STRING(defaultservice, szDefaultService)
376 FN_GLOBAL_STRING(deleteprinter_cmd, szDeletePrinterCommand)
377 FN_GLOBAL_STRING(delete_share_cmd, szDeleteShareCommand)
378 FN_GLOBAL_STRING(delgroup_script, szDelGroupScript)
379 FN_GLOBAL_STRING(deluserfromgroup_script, szDelUserFromGroupScript)
380 FN_GLOBAL_STRING(deluser_script, szDelUserScript)
381 FN_GLOBAL_STRING(enumports_cmd, szEnumPortsCommand)
382 FN_GLOBAL_STRING(get_quota_command, szGetQuota)
383 FN_GLOBAL_STRING(iprint_server, szIPrintServer)
384 FN_GLOBAL_STRING(ldap_admin_dn, szLdapAdminDn)
385 FN_GLOBAL_STRING(ldap_suffix, szLdapSuffix)
386 FN_GLOBAL_STRING(logfile, logfile)
387 FN_GLOBAL_STRING(log_nt_token_command, szLogNtTokenCommand)
388 FN_GLOBAL_STRING(mangling_method, szManglingMethod)
389 FN_GLOBAL_STRING(msg_command, szMsgCommand)
390 FN_GLOBAL_STRING(nis_home_map_name, szNISHomeMapName)
391 FN_GLOBAL_STRING(ntptr_providor, ntptr_providor)
392 FN_GLOBAL_STRING(os2_driver_map, szOs2DriverMap)
393 FN_GLOBAL_STRING(panic_action, szPanicAction)
394 FN_GLOBAL_STRING(passwd_chat, szPasswdChat)
395 FN_GLOBAL_STRING(passwd_program, szPasswdProgram)
396 FN_GLOBAL_STRING(perfcount_module, szSMBPerfcountModule)
397 FN_GLOBAL_STRING(remote_announce, szRemoteAnnounce)
398 FN_GLOBAL_STRING(remote_browse_sync, szRemoteBrowseSync)
399 FN_GLOBAL_STRING(renameuser_script, szRenameUserScript)
400 FN_GLOBAL_STRING(rootdir, szRootdir)
401 FN_GLOBAL_STRING(serverstring, szServerString)
402 FN_GLOBAL_STRING(setprimarygroup_script, szSetPrimaryGroupScript)
403 FN_GLOBAL_STRING(set_quota_command, szSetQuota)
404 FN_GLOBAL_STRING(share_backend, szShareBackend)
405 FN_GLOBAL_STRING(shutdown_script, szShutdownScript)
406 FN_GLOBAL_STRING(username_map_script, szUsernameMapScript)
407 FN_GLOBAL_STRING(username_map, szUsernameMap)
408 FN_GLOBAL_STRING(usershare_path, szUsersharePath)
409 FN_GLOBAL_STRING(wins_hook, szWINSHook)