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