743 lines
22 KiB
HTML
743 lines
22 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of AUTOFS.CONF</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>AUTOFS.CONF</H1>
|
|
Section: File Formats (5)<BR>Updated: 23 Jan 2014<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
autofs.conf - autofs configuration
|
|
<A NAME="lbAC"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<P>
|
|
|
|
Configuration settings used by
|
|
<B><A HREF="/cgi-bin/man/man2html?8+automount">automount</A></B>(8)
|
|
|
|
may be changed in the configuration file <B>/etc/autofs.conf</B>.
|
|
<P>
|
|
|
|
This file contains two primary sections, <B>autofs</B> and <B>amd</B>.
|
|
<P>
|
|
|
|
Configuration entries may be present at the beginning of the
|
|
configuration file without a section header and are implicitly
|
|
included as part of the <B>autofs</B> section.
|
|
<P>
|
|
|
|
Each section name is enclosed in square brackets with
|
|
spaces between the brackets and the section name. The <B>amd</B>
|
|
section may be followed by further sections, named by the
|
|
top level mount point path, that contain per mount
|
|
configuration settings.
|
|
<A NAME="lbAD"> </A>
|
|
<H2>SECTION autofs CONFIGURATION OPTIONS</H2>
|
|
|
|
<P>
|
|
|
|
Configuration settings available are:
|
|
<DL COMPACT>
|
|
<DT id="1"><B>timeout</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
Sets the default mount timeout in seconds. The internal program
|
|
default is 10 minutes, but the default installed configuration
|
|
overrides this and sets the timeout to 5 minutes to be consistent
|
|
with earlier autofs releases.
|
|
<DT id="2"><B>master_wait</B>
|
|
|
|
<DD>
|
|
sets the default maximum time to wait for the master map to become
|
|
available if it cannot be read at program start (program default 10,
|
|
wait for 10 seconds then continue).
|
|
<DT id="3"><B>negative_timeout</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
Set the default timeout for caching failed key lookups (program default
|
|
60). If the equivalent command line option is given it will override this
|
|
setting.
|
|
<DT id="4"><B>mount_verbose</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
Use the verbose flag when spawning <A HREF="/cgi-bin/man/man2html?8+mount">mount</A>(8), and log some process info
|
|
about the requestor and its parent (program default "no").
|
|
<DT id="5"><B>mount_wait</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
Set the default time to wait for a response from a spawned <A HREF="/cgi-bin/man/man2html?8+mount">mount</A>(8)
|
|
before sending it a SIGTERM. Note that we still need to wait for the
|
|
RPC layer to timeout before the sub-process exits so this isn't ideal
|
|
but it is the best we can do. The default is to wait until <A HREF="/cgi-bin/man/man2html?8+mount">mount</A>(8)
|
|
returns without intervention.
|
|
<DT id="6"><B>umount_wait</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
Set the default time to wait for a response from a spawned <A HREF="/cgi-bin/man/man2html?8+umount">umount</A>(8)
|
|
before sending it a SIGTERM. Note that we still need to wait for the
|
|
RPC layer to timeout before the sub-process exits so this isn't ideal
|
|
but it is the best we can do.
|
|
<DT id="7"><B>browse_mode</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
Maps are browsable by default (program default "yes").
|
|
<DT id="8"><B>mount_nfs_default_protocol</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
Set the default protocol that
|
|
<B><A HREF="/cgi-bin/man/man2html?8+mount.nfs">mount.nfs</A></B>(8)
|
|
|
|
uses when performing a mount (program default 3). Autofs needs to know
|
|
the default NFS protocol that
|
|
<B><A HREF="/cgi-bin/man/man2html?8+mount.nfs">mount.nfs</A>(8)</B>
|
|
|
|
uses so it can do special case handling for its availability probe for
|
|
different NFS protocols. Since we can't identify this default
|
|
automatically we need to set it in the autofs configuration.
|
|
<DT id="9"><B>append_options</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
Determine whether global options, given on the command line or per mount
|
|
in the master map, are appended to map entry options or if the map entry
|
|
options replace the global options (program default "yes", append options).
|
|
<DT id="10"><B>logging</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
set default log level "none", "verbose" or "debug" (program default "none").
|
|
<DT id="11"><B>force_standard_program_map_env</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
override the use of a prefix with standard environment variables when a
|
|
program map is executed. Since program maps are run as the privileged
|
|
user setting these standard environment variables opens <A HREF="/cgi-bin/man/man2html?8+automount">automount</A>(8) to
|
|
potential user privilege escalation when the program map is written in a
|
|
language that can load components from, for example, a user home directory
|
|
(program default "no").
|
|
<DT id="12"><B>map_hash_table_size</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
This configuration option may be used to change the number of hash
|
|
table slots (default 1024).
|
|
<P>
|
|
This configuration option affects the overhead of searching the map
|
|
entry cache for map entries when there are a large number of entries.
|
|
It affects the number of entries that must be looked at to locate a
|
|
map entry in the map entry cache. For example, the default of 1024
|
|
and a direct map with 8000 entries would result in each slot
|
|
containing an average of 8 entries, which should be acceptable.
|
|
<P>
|
|
However, if excessive CPU usage is observed during automount lookups
|
|
increasing this option can reduce the CPU overhead considerably because
|
|
it reduces the length of the search chains.
|
|
<P>
|
|
Note that the number of entries in a map doesn't necessarily relate
|
|
to the number of entries used in the map entry cache.
|
|
<P>
|
|
There are two distinct cases where the map hash table can make a
|
|
significant difference, direct maps and indirect maps that use the
|
|
"browse" option.
|
|
<P>
|
|
For indirect maps that do not use the "browse" option entries are
|
|
added to the map entry cache at lookup so the number of active cache
|
|
entries, in this case, is usually much less than the number of entries
|
|
in the map. In this last case it would be unusual for the map entry
|
|
cache to grow large enough to warrant increasing the default before
|
|
an event that cleans stale entries, a map re-read for example.
|
|
<DT id="13"><B>use_hostname_for_mounts</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
NFS mounts where the host name resolves to more than one IP address
|
|
are probed for availability and to establish the order in which mounts
|
|
to them should be tried. To ensure that mount attempts are made only
|
|
to hosts that are responding and are tried in the order of hosts with
|
|
the quickest response the IP address of the host needs to be used for
|
|
the mount.
|
|
<P>
|
|
If it is necessary to use the hostname given in the map entry for the
|
|
mount regardless, then set this option to "yes".
|
|
<P>
|
|
Be aware that if this is done there is no defense against the host
|
|
name resolving to one that isn't responding and while the number
|
|
of attempts at a successful mount will correspond to the number of
|
|
addresses the host name resolves to the order will also not correspond
|
|
to fastest responding hosts.
|
|
<DT id="14"><B>disable_not_found_message</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
The original request to add this log message needed it to be unconditional.
|
|
That produces, IMHO, unnecessary noise in the log so a configuration option
|
|
has been added to provide the ability to turn it off. The default is "no"
|
|
to maintain the current behaviour.
|
|
<DT id="15"><B>use_ignore_mount_option</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
An option to enable the use of autofs pseudo option "disable". This option
|
|
is used as a hint to user space that the mount entry should be omitted from
|
|
mount table listings. The default is "no" to avoid unexpected changes in
|
|
behaviour and so is an opt-in setting.
|
|
<DT id="16"><B>sss_master_map_wait</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
Set the time to wait and retry if sssd returns "no such entry" when starting
|
|
up. When sssd is starting up it can sometimes return "no such entry" for a
|
|
short time until it has read in the LDAP map information. Default is 0 seconds,
|
|
don't wait.
|
|
<DT id="17"><B>use_mount_request_log_id</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
Set whether to use a mount request log id so that log entries for specific
|
|
mount requests can be easily identified in logs that have multiple concurrent
|
|
requests. Default is don't use mount request log ids.
|
|
</DL>
|
|
<A NAME="lbAE"> </A>
|
|
<H3>LDAP Configuration</H3>
|
|
|
|
<P>
|
|
|
|
Configuration settings available are:
|
|
<DL COMPACT>
|
|
<DT id="18"><B>ldap_timeout</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
Set the network response timeout (default 8).
|
|
Set timeout value for the synchronous API calls. The default is the LDAP
|
|
library default of an infinite timeout.
|
|
<DT id="19"><B>ldap_network_timeout</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
Set the network response timeout (default 8).
|
|
<DT id="20"><B>ldap_uri</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
A space separated list of server uris of the form <proto>://<server>[/]
|
|
where <proto> can be ldap or ldaps. The option can be given multiple times.
|
|
Map entries that include a server name override this option and it is then
|
|
not used. Default is an empty list in which case either the server given
|
|
in a map entry or the LDAP configured default is used. This uri list is read at
|
|
startup and whenever the daemon receives a HUP signal.
|
|
<P>
|
|
This configuration option can also be used to request autofs lookup SRV RRs
|
|
for a domain of the form <proto>:///[<domain dn>]. Note that a trailing
|
|
"/" is not allowed when using this form. If the domain dn is not specified
|
|
the dns domain name (if any) is used to construct the domain dn for the
|
|
SRV RR lookup. The server list returned from an SRV RR lookup is refreshed
|
|
according to the minimum ttl found in the SRV RR records or after one hour,
|
|
whichever is less.
|
|
<DT id="21"><B>search_base</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
The base dn to use when searching for amap base dn. This entry may be
|
|
given multiple times and each will be checked for a map base dn in
|
|
the order they occur in the configuration. The search base list is read
|
|
at startup and whenever the daemon receives a HUP signal.
|
|
<DT id="22"><B>map_object_class</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
The map object class. In the <B>nisMap</B> schema this corresponds to the class
|
|
<B>nisMap</B> and in the <B>automountMap</B> schema it corresponds to the class
|
|
<B>automountMap</B>.
|
|
<DT id="23"><B>entry_object_class</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
The map entry object class. In the <B>nisMap</B> schema this corresponds
|
|
to the class <B>nisObject</B> and in the <B>automountMap</B> schema it
|
|
corresponds to the class <B>automount</B>.
|
|
<DT id="24"><B>map_attribute</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
The attribute used to identify the name of the map to which this
|
|
entry belongs. In the <B>nisMap</B> schema this corresponds to the attribute
|
|
<B>nisMapName</B> and in the <B>automountMap</B> schema it corresponds to the
|
|
attribute <B>ou</B> or <B>automountMapName</B>.
|
|
<DT id="25"><B>entry_attribute</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
The attribute used to identify a map key. In the <B>nisMap</B> schema this
|
|
corresponds to the attribute <B>cn</B> and in the <B>automountMap</B> schema
|
|
it corresponds to the attribute <B>automountKey</B>.
|
|
<DT id="26"><B>value_attribute</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
The attribute used to identify the value of the map entry. In the <B>nisMap</B>
|
|
schema this corresponds to the attribute <B>nisMapEntry</B> and in the <B>automountMap</B>
|
|
schema it corresponds to the attribute
|
|
<B>automountInformation</B>.
|
|
|
|
<DT id="27"><B>NOTE:</B>
|
|
|
|
<DD>
|
|
It is essential that entries use class and attribute in a consistent
|
|
manner for correct operation of autofs. For example mixing <B>cn</B>
|
|
and <B>automountKey</B> attributes in <B>automount</B> schema will
|
|
not work as expected.
|
|
<DT id="28"><B>auth_conf_file</B>
|
|
|
|
<DD>
|
|
This configuration option may be used to specify an alternate location
|
|
for the ldap authentication configuration file. See
|
|
<B><A HREF="/cgi-bin/man/man2html?5+autofs_ldap_auth.conf">autofs_ldap_auth.conf</A></B>(5)
|
|
|
|
for more information.
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>SECTION amd CONFIGURATION OPTIONS</H2>
|
|
|
|
<P>
|
|
|
|
A number of the amd configuration options are not used by autofs,
|
|
some because they are not relevant within autofs, some because
|
|
they are done differently in autofs and others that are not yet
|
|
implemented.
|
|
<P>
|
|
Since <B>mount_type</B> is always autofs (because there's no user space
|
|
NFS server) the configuration entries relating to that aren't used.
|
|
Also, server availability is done differently within autofs so the
|
|
options that relate to the amd server monitoring sub-system are
|
|
also not used.
|
|
<P>
|
|
These options are <B>mount_type</B>, <B>auto_attrcache</B>, <B>portmap_program</B>,
|
|
<B>nfs_vers_ping</B>, <B>nfs_allow_any_interface</B>, <B>nfs_allow_insecure_port</B>,
|
|
<B>nfs_proto</B>, <B>nfs_retransmit_counter</B>, <B>nfs_retransmit_counter_udp</B>,
|
|
<B>nfs_retransmit_counter_tcp</B>, <B>nfs_retransmit_counter_toplvl</B>,
|
|
<B>nfs_retry_interval</B>, <B>nfs_retry_interval_udp</B>, <B>nfs_retry_interval_tcp</B>,
|
|
<B>nfs_retry_interval_toplvl</B> and <B>nfs_vers</B>.
|
|
<P>
|
|
Other options that are not used within the autofs implementation:
|
|
<DL COMPACT>
|
|
<DT id="29"><B>log_file</B>, <B>truncate_log</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
sends its output to syslog so an alternate log file (or truncating
|
|
the log) can't be used.
|
|
<DT id="30"><B>print_pid</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
There's no corresponding option for this within autofs.
|
|
<DT id="31"><B>use_tcpwrappers</B>, <B>show_statfs_entries</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
There's no user space NFS server to control access to so this
|
|
option isn't relevant. The show_statfs_entries can't be
|
|
implemented for the same reason.
|
|
<DT id="32"><B>debug_mtab_file</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
There's no user space NFS server and autofs avoids using file
|
|
based mtab whenever possible.
|
|
<DT id="33"><B>sun_map_syntax</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
Sun map format is handled by autofs itself.
|
|
<DT id="34"><B>plock</B>, <B>show_statfs_entries</B>, <B>preferred_amq_port</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
Are not supported by autofs.
|
|
<DT id="35"><B>ldap_cache_maxmem</B>, <B>ldap_cache_seconds</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
External ldap caching is not used by autofs.
|
|
<DT id="36"><B>ldap_proto_version</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
autofs always attempts to use the highest available ldap
|
|
protocol version.
|
|
<DT id="37"><B>cache_duration</B>, <B>map_reload_interval</B>, <B>map_options</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
The map<TT> </TT>entry cache is continually updated and stale entries<BR>
|
|
cleaned on re-load, which is done when map changes are detected
|
|
so these configuration entries are not used by autofs. An
|
|
exception to this is the case where the map is large. In this
|
|
case it may be necessary to read the whole map at startup even if
|
|
browsing is not enabled. Adding the cache:=all option to
|
|
map_options can be used to for this.
|
|
<DT id="38"><B>localhost_address</B>
|
|
|
|
<DD>
|
|
This is not used within autofs. This configuration option was
|
|
only used in the amd user space server code and is not relevant
|
|
within autofs.
|
|
</DL>
|
|
<P>
|
|
|
|
Options that are handled differently within autofs:
|
|
<DL COMPACT>
|
|
<DT id="39"><B>pid_file</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
To specify a pid file name a command line option must be used on startup.
|
|
<DT id="40"><B>print_version</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
Program version and feature information is obtained by using the
|
|
automount command line option "-V".
|
|
<DT id="41"><B>debug_options , log_options</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
autofs has somewhat more limited logging and debug logging options.
|
|
When the log_options options is encountered it is converted to the
|
|
nearest matching autofs logging option. Since the configuration
|
|
option debug_options would be handled the same way it is ignored.
|
|
<DT id="42"><B>restart_mounts</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
This option has no sensible meaning within autofs because autofs
|
|
always tries to re-connect to existing mounts. While this has its
|
|
own set of problems not re-connecting to existing mounts always
|
|
results in a non-functional automount tree if mounts were busy at
|
|
the last shutdown (as is also the case with amd when using
|
|
mount_type autofs).
|
|
<DT id="43"><B>forced_unmounts</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
Detaching mounts often causes serious problems for users of
|
|
existing mounts. It is used by autofs in some cases, either at
|
|
the explicit request of the user (with a command line or init
|
|
option) and in some special cases during program operation but
|
|
is avoided whenever possible.
|
|
</DL>
|
|
<P>
|
|
|
|
A number of configuration options are not yet implemented:
|
|
<DL COMPACT>
|
|
<DT id="44"><B>search_path</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
Always a little frustrating, the compiled in map location should
|
|
be used to locate maps but isn't in some cases. This requires
|
|
work within autofs itself and that will (obviously) include
|
|
implementing this configuration option for the amd map parser
|
|
as well.
|
|
<DT id="45"><B>fully_qualified_hosts</B>
|
|
|
|
<DD>
|
|
Not yet implemented.
|
|
<DT id="46"><B>unmount_on_exit</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
Since autofs always tries to re-connect to mounts left mounted
|
|
from a previous shutdown this is a sensible option to implement
|
|
and that will be done.
|
|
<DT id="47"><B>browsable_dirs</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
Allow map keys to be shown in directory listings. This option
|
|
can have values of "yes" or "no". The default is "no". A variation
|
|
of this option, "browsable", can be used as a pseudo mount option
|
|
in type "auto" map entries to provide browsing functionality
|
|
in sub-mounts. The amd "browsable_dirs = full" option cannot be
|
|
implemented within the current autofs framework and is not supported.
|
|
<DT id="48"><B>exec_map_timeout</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
A timeout is not currently used for program maps but this might be
|
|
implemented in the future.
|
|
<DT id="49"><B>tag</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
The tag option is not implemented within autofs.
|
|
</DL>
|
|
<P>
|
|
|
|
Supported options:
|
|
<DL COMPACT>
|
|
<DT id="50"><B>arch</B>, <B>karch</B>, <B>os</B>, <B>osver</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
These options default to what is returned from <A HREF="/cgi-bin/man/man2html?2+uname">uname</A>(2) and can
|
|
be overridden if required.
|
|
<DT id="51"><B>full_os</B>
|
|
|
|
<DD>
|
|
This option has no default and must be set in the configuration
|
|
if used in maps.
|
|
<DT id="52"><B>cluster</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
If not set defaults to the host domain name. This option corresponds
|
|
to the HP_UX cluster name (according to the amd source) and is
|
|
probably not used in Linux but is set anyway.
|
|
<DT id="53"><B>vendor</B>
|
|
|
|
<DD>
|
|
This option has a default value of "unknown", it must be set in the
|
|
configuration if used in maps.
|
|
<DT id="54"><B>auto_dir</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
Is the base name of the mount tree used for external mounts that
|
|
are sometimes needed by amd maps. Its default value is "/a".
|
|
<DT id="55"><B>map_type</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
Specifies the autofs map source, such as file, nis, ldap etc. and
|
|
has no default value set.
|
|
<DT id="56"><B>map_defaults</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
This option is used to override /defaults entries within maps
|
|
and can be used to provide different defaults on specific machines
|
|
without having to modify centrally managed maps. It is empty by
|
|
default.
|
|
<DT id="57"><B>search_path</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
Colon separated paths to search for maps that are not specified
|
|
as a full path.
|
|
<DT id="58"><B>dismount_interval</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
Is equivalent to the autofs timeout option. It is only possible
|
|
to use this with type "auto" mounts due to the way the autofs
|
|
kernel module performs expiry. It takes its default value from
|
|
the autofs internal default of 600 seconds.
|
|
<DT id="59"><B>autofs_use_lofs</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
If set to "yes" autofs will attempt to use bind mounts for type
|
|
"link" entries when possible (default is "yes").
|
|
<DT id="60"><B>nis_domain</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
Allows setting of a domain name other than the system default.
|
|
<DT id="61"><B>local_domain</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
Is used to override (or set) the host domain name.
|
|
<DT id="62"><B>normalize_hostnames</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
If set to "yes" then the contents of ${rhost} is translated in
|
|
its official host name.
|
|
<DT id="63"><B>domain_strip</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
If set to "yes" the domain name part of the host is stripped
|
|
when normalizing hostnames. This can be useful when using of
|
|
the same maps in a multiple domain environment.
|
|
<DT id="64"><B>normalize_slashes</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
This option is set to "yes" by default and will collapse
|
|
multiple unescaped occurrences of "/" to a single "/".
|
|
<DT id="65"><B>selectors_in_defaults</B>, <B>selectors_on_default</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
This option has a default value of "no". If set to "yes" then
|
|
any defaults entry will be checked for selectors to determine
|
|
the values to be used. selectors_in_defaults is the preferred
|
|
option to use.
|
|
<DT id="66"><B>ldap_base</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
iThis option has no default value. It must be set to the base dn
|
|
that is used for queries if ldap is to be used as a map source.
|
|
<DT id="67"><B>ldap_hostports</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
This option has no default value set. It must be set to the URI
|
|
of the LDAP server to be used for lookups when ldap is used as
|
|
a map source. It may contain a comma or space separated list of
|
|
LDAP URIs.
|
|
<DT id="68"><B>hesiod_base</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
Sets the base name used for hesiod map sources.
|
|
<DT id="69"><B>linux_ufs_mount_type</B>
|
|
|
|
<DD>
|
|
<BR>
|
|
|
|
This is an additional configuration option for the autofs amd format
|
|
parser implementation.
|
|
<P>
|
|
There's no simple way to determine what the system default filesystem
|
|
is and am-utils needs to be continually updated to do this and can
|
|
easily get it wrong ayway. So allow it to be set in the configuration.
|
|
</DL>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>EXAMPLE</H2>
|
|
|
|
<P>
|
|
<DL COMPACT><DT id="70"><DD>
|
|
|
|
|
|
<PRE>
|
|
[ autofs ]
|
|
timeout = 300
|
|
browse_mode = no
|
|
|
|
[ amd ]
|
|
dismount_interval = 300
|
|
map_type = nis
|
|
autofs_use_lofs = no
|
|
|
|
[ /expamle/mount ]
|
|
dismount_interval = 60
|
|
map_type = file
|
|
</PRE>
|
|
|
|
</DL>
|
|
|
|
<A NAME="lbAH"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+automount">automount</A></B>(8),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?5+auto.master">auto.master</A></B>(5),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?5+autofs_ldap_auth.conf">autofs_ldap_auth.conf</A></B>(5).
|
|
|
|
<A NAME="lbAI"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
This manual page was written by Ian Kent <<A HREF="mailto:raven@themaw.net">raven@themaw.net</A>>.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="71"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="72"><A HREF="#lbAC">DESCRIPTION</A><DD>
|
|
<DT id="73"><A HREF="#lbAD">SECTION autofs CONFIGURATION OPTIONS</A><DD>
|
|
<DL>
|
|
<DT id="74"><A HREF="#lbAE">LDAP Configuration</A><DD>
|
|
</DL>
|
|
<DT id="75"><A HREF="#lbAF">SECTION amd CONFIGURATION OPTIONS</A><DD>
|
|
<DT id="76"><A HREF="#lbAG">EXAMPLE</A><DD>
|
|
<DT id="77"><A HREF="#lbAH">SEE ALSO</A><DD>
|
|
<DT id="78"><A HREF="#lbAI">AUTHOR</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:02 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|