Blame samples/autofs.conf.default.in

Packit 8480eb
#
Packit 8480eb
# Define default options for autofs.
Packit 8480eb
#
Packit 8480eb
[ autofs ]
Packit 8480eb
#
Packit 8480eb
# master_map_name - default map name for the master map.
Packit 8480eb
#
Packit 8480eb
#master_map_name = auto.master
Packit 8480eb
#
Packit 8480eb
# timeout - set the default mount timeout in secons. The internal
Packit 8480eb
#	    program default is 10 minutes, but the default installed
Packit 8480eb
#	    configuration overrides this and sets the timeout to 5
Packit 8480eb
#	    minutes to be consistent with earlier autofs releases.
Packit 8480eb
#
Packit 8480eb
timeout = 300
Packit 8480eb
#
Packit 8480eb
# master_wait - set the default maximum time to wait for the
Packit 8480eb
# 		master map to become available if it cannot
Packit 8480eb
# 		be read at program start (default 10, wait
Packit 8480eb
# 		for 10 seconds then continue).
Packit 8480eb
#
Packit 8480eb
# master_wait = 10
Packit 8480eb
#
Packit 8480eb
# negative_timeout - set the default negative timeout for
Packit 8480eb
# 		     failed mount attempts (default 60).
Packit 8480eb
#
Packit 8480eb
#negative_timeout = 60
Packit 8480eb
#
Packit Service 888ac8
# mount_verbose - use the -v flag when calling mount(8) and log some
Packit Service 888ac8
#		  process information about the requestor and its
Packit Service 888ac8
#		  parent.
Packit Service 9cc309
#
Packit Service 9cc309
#mount_verbose = no
Packit Service 9cc309
#
Packit 8480eb
# mount_wait - time to wait for a response from mount(8).
Packit 8480eb
# 	       Setting this timeout can cause problems when
Packit 8480eb
# 	       mount would otherwise wait for a server that
Packit 8480eb
# 	       is temporarily unavailable, such as when it's
Packit 8480eb
# 	       restarting. The default setting (-1) of waiting
Packit 8480eb
# 	       for mount(8) usually results in a wait of around
Packit 8480eb
# 	       3 minutes.
Packit 8480eb
#
Packit 8480eb
#mount_wait = -1
Packit 8480eb
#
Packit 8480eb
# umount_wait - time to wait for a response from umount(8).
Packit 8480eb
#
Packit 8480eb
#umount_wait = 12
Packit 8480eb
#
Packit 8480eb
# browse_mode - maps are browsable by default.
Packit 8480eb
#
Packit 8480eb
browse_mode = no
Packit 8480eb
#
Packit 8480eb
# mount_nfs_default_protocol - set the default protocol that mount.nfs(8)
Packit 8480eb
#			       uses when performing a mount. Autofs needs
Packit 8480eb
#			       to know the default NFS protocol that
Packit 8480eb
#			       mount.nfs(8) uses so it can do special case
Packit 8480eb
#			       handling for its availability probe for
Packit 8480eb
#			       different NFS protocols. Since we can't
Packit 8480eb
#			       identify the default automatically we need
Packit 8480eb
#			       to set it in our configuration.
Packit 8480eb
#
Packit 8480eb
#mount_nfs_default_protocol = 3
Packit 8480eb
#
Packit 8480eb
# append_options - append to global options instead of replace.
Packit 8480eb
#
Packit 8480eb
#append_options = yes
Packit 8480eb
#
Packit 8480eb
# logging - set default log level "none", "verbose" or "debug"
Packit 8480eb
#
Packit 8480eb
#logging = none
Packit 8480eb
#
Packit 8480eb
# force_standard_program_map_env - disable the use of the "AUTOFS_"
Packit 8480eb
#			prefix for standard environemt variables when
Packit 8480eb
#			executing a program map. Since program maps
Packit 8480eb
#			are run as the privileded user this opens
Packit 8480eb
#			automount(8) to potential user privilege
Packit 8480eb
#			escalation when the program map is written
Packit 8480eb
#			in a language that  can load components from,
Packit 8480eb
#			for example, a user home directory.
Packit 8480eb
#
Packit 8480eb
# force_standard_program_map_env = no
Packit 8480eb
#
Packit 8480eb
# use_mount_request_log_id - Set whether to use a mount request log
Packit 8480eb
#			id so that log entries for specific mount
Packit 8480eb
#			requests can be easily identified in logs
Packit 8480eb
#			that have multiple conncurrent requests.
Packit 8480eb
#
Packit 8480eb
#use_mount_request_log_id = no
Packit 8480eb
#
Packit 8480eb
# Define base dn for map dn lookup.
Packit 8480eb
#
Packit 8480eb
# Define server URIs
Packit 8480eb
#
Packit 8480eb
# ldap_uri - space seperated list of server uris of the form
Packit 8480eb
# 	     <proto>://<server>[/] where <proto> can be ldap
Packit 8480eb
# 	     or ldaps. The option can be given multiple times.
Packit 8480eb
# 	     Map entries that include a server name override
Packit 8480eb
# 	     this option.
Packit 8480eb
#
Packit 8480eb
#	     This configuration option can also be used to
Packit 8480eb
#	     request autofs lookup SRV RRs for a domain of
Packit 8480eb
#	     the form <proto>:///[<domain dn>]. Note that a
Packit 8480eb
#	     trailing "/" is not allowed when using this form.
Packit 8480eb
#	     If the domain dn is not specified the dns domain
Packit 8480eb
#	     name (if any) is used to construct the domain dn
Packit 8480eb
#	     for the SRV RR lookup. The server list returned
Packit 8480eb
#	     from an SRV RR lookup is refreshed according to
Packit 8480eb
#	     the minimum ttl found in the SRV RR records or
Packit 8480eb
#	     after one hour, whichever is less.
Packit 8480eb
#
Packit 8480eb
#ldap_uri = ""
Packit 8480eb
#
Packit 8480eb
# ldap_timeout - timeout value for the synchronous API  calls
Packit 8480eb
#		  (default is LDAP library default).
Packit 8480eb
#
Packit 8480eb
#ldap_timeout = -1
Packit 8480eb
#
Packit 8480eb
# ldap_network_timeout - set the network response timeout (default 8).
Packit 8480eb
#
Packit 8480eb
#ldap_network_timeout = 8
Packit 8480eb
#
Packit 8480eb
# search_base - base dn to use for searching for map search dn.
Packit 8480eb
# 		Multiple entries can be given and they are checked
Packit 8480eb
# 		in the order they occur here.
Packit 8480eb
#
Packit 8480eb
#search_base = ""
Packit 8480eb
#
Packit 8480eb
# Define the LDAP schema to used for lookups
Packit 8480eb
#
Packit 8480eb
# If no schema is set autofs will check each of the schemas
Packit 8480eb
# below in the order given to try and locate an appropriate
Packit 8480eb
# basdn for lookups. If you want to minimize the number of
Packit 8480eb
# queries to the server set the values here.
Packit 8480eb
#
Packit 8480eb
#map_object_class = nisMap
Packit 8480eb
#entry_object_class = nisObject
Packit 8480eb
#map_attribute = nisMapName
Packit 8480eb
#entry_attribute = cn
Packit 8480eb
#value_attribute= nisMapEntry
Packit 8480eb
#
Packit 8480eb
# Other common LDAP naming
Packit 8480eb
#
Packit 8480eb
#map_object_class = automountMap
Packit 8480eb
#entry_object_class = automount
Packit 8480eb
#map_attribute = ou
Packit 8480eb
#entry_attribute = cn
Packit 8480eb
#value_attribute= automountInformation
Packit 8480eb
#
Packit 8480eb
#map_object_class = automountMap
Packit 8480eb
#entry_object_class = automount
Packit 8480eb
#map_attribute = automountMapName
Packit 8480eb
#entry_attribute = automountKey
Packit 8480eb
#value_attribute= automountInformation
Packit 8480eb
#
Packit 8480eb
# auth_conf_file - set the default location for the SASL
Packit 8480eb
#		   authentication configuration file.
Packit 8480eb
#
Packit 8480eb
#auth_conf_file = @@autofsmapdir@@/autofs_ldap_auth.conf
Packit 8480eb
#
Packit 8480eb
# map_hash_table_size - set the map cache hash table size.
Packit 8480eb
# 			Should be a power of 2 with a ratio of
Packit 8480eb
# 			close to 1:8 for acceptable performance
Packit 8480eb
# 			with maps up to around 8000 entries.
Packit 8480eb
# 			See autofs.conf(5) for more details.
Packit 8480eb
#
Packit 8480eb
#map_hash_table_size = 1024
Packit 8480eb
#
Packit 8480eb
# use_hostname_for_mounts - nfs mounts where the host name resolves
Packit 8480eb
# 			to more than one IP address normally need
Packit 8480eb
# 			to use the IP address to esure a mount to
Packit 8480eb
# 			a host that isn't responding isn't done.
Packit 8480eb
# 			If that behaviour is not wanted then set
Packit 8480eb
#			ths to "yes", default is "no".
Packit 8480eb
#
Packit 8480eb
#use_hostname_for_mounts = "no"
Packit 8480eb
#
Packit 8480eb
# disable_not_found_message - The original request to add this log message
Packit 8480eb
# 			 needed it to be unconditional. That produces, IMHO,
Packit 8480eb
# 			 unnecessary noise in the log so a configuration option
Packit 8480eb
# 			 has been added to provide the ability to turn it off.
Packit 8480eb
# 			 The default is "no" to maintain the current behaviour.
Packit 8480eb
#
Packit 8480eb
#disable_not_found_message = "no"
Packit 8480eb
#
Packit 8480eb
# sss_master_map_wait - When sssd is starting up it can sometimes return
Packit 8480eb
#			"no such entry" for a short time until it has read
Packit 8480eb
# 			in the LDAP map information. Internal default is 0
Packit 8480eb
# 			seconds, don't wait but if there is a problem with
Packit 8480eb
# 			autofs not finding the master map at startup (when
Packit 8480eb
# 			it should) then try setting this to 10 to work
Packit 8480eb
# 			around it.
Packit 8480eb
#
Packit 8480eb
#sss_master_map_wait = 0
Packit 8480eb
#
Packit 8480eb
# Options for the amd parser within autofs.
Packit 8480eb
#
Packit 8480eb
# amd configuration options that are aren't used, haven't been
Packit 8480eb
# implemented or have different behaviour within autofs.
Packit 8480eb
#
Packit 8480eb
# A number of the amd configuration options are not used by autofs,
Packit 8480eb
# some because they are not relevant within autofs, some because
Packit 8480eb
# they are done differently in autofs and others that are not yet
Packit 8480eb
# implemented.
Packit 8480eb
#
Packit 8480eb
# Since "mount_type" is always autofs (because there's no user space
Packit 8480eb
# NFS server) the configuration entries relating to that aren't used.
Packit 8480eb
# Also, server availability is done differently within autofs so the
Packit 8480eb
# options that relate to the amd server monitoring sub-system are
Packit 8480eb
# also not used.
Packit 8480eb
#
Packit 8480eb
# These options are mount_type, auto_attrcache, portmap_program,
Packit 8480eb
# nfs_vers_ping, nfs_allow_any_interface, nfs_allow_insecure_port,
Packit 8480eb
# nfs_proto, nfs_retransmit_counter, nfs_retransmit_counter_udp,
Packit 8480eb
# nfs_retransmit_counter_tcp, nfs_retransmit_counter_toplvl,
Packit 8480eb
# nfs_retry_interval, nfs_retry_interval_udp, nfs_retry_interval_tcp,
Packit 8480eb
# nfs_retry_interval_toplvl and nfs_vers.
Packit 8480eb
#
Packit 8480eb
#
Packit 8480eb
# Other options that are not used within the autofs implementation:
Packit 8480eb
#
Packit 8480eb
# log_file, truncate_log - autofs used either stderr when running in
Packit 8480eb
#	the foreground or sends its output to syslog so an alternate
Packit 8480eb
#	log file (or truncating the log) can't be used.
Packit 8480eb
#
Packit 8480eb
# print_pid - there's no corresponding option for this within autofs.
Packit 8480eb
#
Packit 8480eb
# use_tcpwrappers, show_statfs_entries - there's no user space NFS
Packit 8480eb
#	server to control access to so this option isn't relevant.
Packit 8480eb
#	The show_statfs_entries can't be implemented for the same
Packit 8480eb
#	reason.
Packit 8480eb
#
Packit 8480eb
# debug_mtab_file - there's no user space NFS server and autofs
Packit 8480eb
#	avoids using file based mtab whenever possible.
Packit 8480eb
#
Packit 8480eb
# sun_map_syntax - obviously, are provided by autofs itself.
Packit 8480eb
#
Packit 8480eb
# plock, show_statfs_entries, preferred_amq_port - not supported.
Packit 8480eb
#
Packit 8480eb
# ldap_cache_maxmem, ldap_cache_seconds - external ldap caching
Packit 8480eb
#	is not used by autofs.
Packit 8480eb
#
Packit 8480eb
# ldap_proto_version - autofs always attempts to use the highest
Packit 8480eb
#	available ldap protocol version.
Packit 8480eb
#
Packit 8480eb
# cache_duration, map_reload_interval, map_options - the map
Packit 8480eb
#	entry cache is continually updated and stale entries
Packit 8480eb
#	cleaned on re-load, which is done when map changes are
Packit 8480eb
#	detected so these configuration entries are not used
Packit 8480eb
#	by autofs.
Packit 8480eb
#
Packit 8480eb
# localhost_address - is not used within autofs. This
Packit 8480eb
#	configuration option was only used in the amd user
Packit 8480eb
#	space server code and is not relevant within autofs.
Packit 8480eb
#
Packit 8480eb
#
Packit 8480eb
# Options that are handled differently within autofs:
Packit 8480eb
#
Packit 8480eb
# pid_file - must be given as a command line option on startup.
Packit 8480eb
#
Packit 8480eb
# print_version - program version and feature information is obtained
Packit 8480eb
#	by using the automount command line option "-V".
Packit 8480eb
#
Packit 8480eb
# debug_options, log_options - autofs has somewhat more limited
Packit 8480eb
#	logging and debug logging options. When the log_options
Packit 8480eb
#	options is encountered it is converted to the nearest
Packit 8480eb
#	matching autofs logging option. Since the configuration
Packit 8480eb
#	option debug_options would be handled the same way it
Packit 8480eb
#	is ignored.
Packit 8480eb
#
Packit 8480eb
# restart_mounts - has no sensible meaning within autofs because autofs
Packit 8480eb
#	always tries to re-connect to existing mounts. While this
Packit 8480eb
#	has its own set of problems not re-connecting to existing
Packit 8480eb
#	mounts always results in a non-functional automount tree if
Packit 8480eb
#	mounts were busy at the last shutdown (as is also the case
Packit 8480eb
#	with amd when using mount_type autofs).
Packit 8480eb
#
Packit 8480eb
# forced_unmounts - detaching mounts often causes serious problems
Packit 8480eb
#	for users of existing mounts. It is used by autofs in some
Packit 8480eb
#	cases, either at the explicit request of the user (with a
Packit 8480eb
#	command line or init option) and in some special cases during
Packit 8480eb
#	program operation but is avoided whenever possible.
Packit 8480eb
#
Packit 8480eb
#
Packit 8480eb
# A number of configuration options are not yet implemented:
Packit 8480eb
#
Packit 8480eb
# fully_qualified_hosts - not yet implemented.
Packit 8480eb
#
Packit 8480eb
# unmount_on_exit - since autofs always tries to re-connect
Packit 8480eb
#	to mounts left mounted from a previous shutdown this
Packit 8480eb
#	is a sensible option to implement and that will be
Packit 8480eb
#	done.
Packit 8480eb
#
Packit 8480eb
# exec_map_timeout - a timeout is not currently used for
Packit 8480eb
#	for program maps, might be implemented.
Packit 8480eb
#
Packit 8480eb
# tag - the tag option is not implemented within autofs.
Packit 8480eb
#
Packit 8480eb
#
Packit 8480eb
# Supported options:
Packit 8480eb
#
Packit 8480eb
# arch, karch, os, osver - these options default to what is returned
Packit 8480eb
#	from uname(2) and can be overridden if required.
Packit 8480eb
#
Packit 8480eb
# full_os - has no default and must be set in the configuration
Packit 8480eb
#	if used in maps.
Packit 8480eb
#
Packit 8480eb
# cluster - if not set defaults to the host domain name. This option
Packit 8480eb
#	corresponds to the HP_UX cluster name (according to the amd
Packit 8480eb
#	source) and is probably not used in Linux but is set anyway.
Packit 8480eb
#
Packit 8480eb
# vendor - has a default value of "unknown", it must be set in the
Packit 8480eb
#	configuration if used in maps.
Packit 8480eb
#
Packit 8480eb
# auto_dir - is the base name of the mount tree used for external
Packit 8480eb
#	mounts that are sometimes needed by amd maps. Its default
Packit 8480eb
#	value is "/a".
Packit 8480eb
#
Packit 8480eb
# map_type - specifies the autofs map source, such as file, nis,
Packit 8480eb
#	ldap etc. and has no default value set.
Packit 8480eb
#
Packit 8480eb
# map_defaults - is used to override /defaults entries within maps
Packit 8480eb
#	and can be used to provide different defaults on specific
Packit 8480eb
#	machines without having to modify centrally managed maps.
Packit 8480eb
#	It is empty by default.
Packit 8480eb
#
Packit 8480eb
# search_path - colon seperated paths to search for maps that
Packit 8480eb
#	are not specified as a full path.
Packit 8480eb
#
Packit 8480eb
# dismount_interval - is equivalent to the autofs timeout option. It
Packit 8480eb
#	is only possible to use this with type "auto" mounts due
Packit 8480eb
#	to the way the autofs kernel module performs expiry. It
Packit 8480eb
#	takes its default value from the autofs internal default
Packit 8480eb
#	of 600 seconds.
Packit 8480eb
#
Packit 8480eb
# browsable_dirs - make map keys visible in directory listings.
Packit 8480eb
#	Note that support for the "fullybrowsable" option cannot
Packit 8480eb
#	be added using the existing kernel to user space autofs
Packit 8480eb
#	implementation.
Packit 8480eb
#
Packit 8480eb
# autofs_use_lofs - if set to "yes" autofs will attempt to use bind
Packit 8480eb
#	mounts for type "link" entries when possible.
Packit 8480eb
#
Packit 8480eb
# nis_domain - allows setting of a domain name other than the system
Packit 8480eb
#	default.
Packit 8480eb
#
Packit 8480eb
# local_domain - is used to override (or set) the host domain name.
Packit 8480eb
#
Packit 8480eb
# normalize_hostnames - if set to "yes" then the contents of ${rhost}
Packit 8480eb
#	is translated in its official host name.
Packit 8480eb
#
Packit 8480eb
# domain_strip - if set to "yes" the domain name part of the host
Packit 8480eb
# 	is strippped when normalizing hostnames. This can be useful
Packit 8480eb
#	when using of the same maps in a multiple domain environment.
Packit 8480eb
#
Packit 8480eb
# normalize_slashes - is set to "yes" by default and will collapse
Packit 8480eb
#	multiple unescaped occurrences of "/" to a single "/".
Packit 8480eb
#
Packit 8480eb
# selectors_in_defaults, selectors_on_default - has a default value
Packit 8480eb
#	of "no". If set to "yes" then any defaults entry will be
Packit 8480eb
#	checked for selectors to determine the values to be used.
Packit 8480eb
#	selectors_in_defaults is the preferred option to use.
Packit 8480eb
#
Packit 8480eb
# ldap_base - has no default value. It must be set to the base dn
Packit 8480eb
#	that is used for queries if ldap is to be used as a map
Packit 8480eb
#	source.
Packit 8480eb
#
Packit 8480eb
# ldap_hostports - has no default value set. It must be set to
Packit 8480eb
#	the URI of the LDAP server to be used for lookups when
Packit 8480eb
#	ldap is used a map source. It may contain a comma or
Packit 8480eb
#	space seperated list of LDAP URIs.
Packit 8480eb
#
Packit 8480eb
# hesiod_base - the base name used for hesiod map sources.
Packit 8480eb
#
Packit 8480eb
# Additional configuration options added:
Packit 8480eb
#
Packit 8480eb
# linux_ufs_mount_type - set the default system filesystem type that's
Packit 8480eb
#	used for mount type ufs. There's no simple way to determine
Packit 8480eb
#	what the system default filesystem is and am-utils needs to
Packit 8480eb
#	be continually updated to do this and can easily get it wrong
Packit 8480eb
#	anyway.
Packit 8480eb
#
Packit 8480eb
#
Packit 8480eb
# Define global options for the amd parser within autofs.
Packit 8480eb
#
Packit 8480eb
[ amd ]
Packit 8480eb
#
Packit 8480eb
# Override the internal default with the same timeout that
Packit 8480eb
# is used by the override in the autofs configuration, sanity
Packit 8480eb
# only change.
Packit 8480eb
#
Packit 8480eb
dismount_interval = 300
Packit 8480eb
#
Packit 8480eb
# map_type = file
Packit 8480eb
#
Packit 8480eb
# Overriding this can cause autofs to use less resources because
Packit 8480eb
# it will use symlinks instead of bind mounts in certain cases.
Packit 8480eb
# You should ensure that the autofs kernel module your using
Packit 8480eb
# supports expration of symlinks for best results (although this
Packit 8480eb
# appears to work reasonably well most of the time without the
Packit 8480eb
# update).
Packit 8480eb
#
Packit 8480eb
# autofs_use_lofs = yes
Packit 8480eb
#
Packit 8480eb
# Several configuration options can be set per mount point.
Packit 8480eb
# In particulr map_type, map_name, map_defaults, search_path,
Packit 8480eb
# browsable_dirs, dismount_interval and selectors_in_defaults
Packit 8480eb
# (not all of which are currently implemented, see above).
Packit 8480eb
#
Packit 8480eb
# Also, if a section for an amd mount point is defined here
Packit 8480eb
# it isn't necessary to specify the format in the corresponding
Packit 8480eb
# master map entry and the format will be inherited for type
Packit 8480eb
# "auto" mounts.
Packit 8480eb
#
Packit 8480eb
# [ /expamle/mount ]
Packit 8480eb
# dismount_interval = 60
Packit 8480eb
# map_type = nis