4 |
- |
1 |
#
|
|
|
2 |
# Define default options for autofs.
|
|
|
3 |
#
|
|
|
4 |
# MASTER_MAP_NAME - default map name for the master map.
|
|
|
5 |
#
|
|
|
6 |
#MASTER_MAP_NAME="auto.master"
|
|
|
7 |
#
|
|
|
8 |
# TIMEOUT - set the default mount timeout in secons. The internal
|
|
|
9 |
# program default is 10 minutes, but the default installed
|
|
|
10 |
# configuration overrides this and sets the timeout to 5
|
|
|
11 |
# minutes to be consistent with earlier autofs releases.
|
|
|
12 |
#
|
|
|
13 |
TIMEOUT=300
|
|
|
14 |
#
|
|
|
15 |
# NEGATIVE_TIMEOUT - set the default negative timeout for
|
|
|
16 |
# failed mount attempts (default 60).
|
|
|
17 |
#
|
|
|
18 |
#NEGATIVE_TIMEOUT=60
|
|
|
19 |
#
|
|
|
20 |
# MOUNT_WAIT - time to wait for a response from mount(8).
|
|
|
21 |
# Setting this timeout can cause problems when
|
|
|
22 |
# mount would otherwise wait for a server that
|
|
|
23 |
# is temporarily unavailable, such as when it's
|
|
|
24 |
# restarting. The default setting (-1) of waiting
|
|
|
25 |
# for mount(8) usually results in a wait of around
|
|
|
26 |
# 3 minutes.
|
|
|
27 |
#
|
|
|
28 |
#MOUNT_WAIT=-1
|
|
|
29 |
#
|
|
|
30 |
# UMOUNT_WAIT - time to wait for a response from umount(8).
|
|
|
31 |
#
|
|
|
32 |
#UMOUNT_WAIT=12
|
|
|
33 |
#
|
|
|
34 |
# BROWSE_MODE - maps are browsable by default.
|
|
|
35 |
#
|
|
|
36 |
BROWSE_MODE="no"
|
|
|
37 |
#
|
|
|
38 |
# MOUNT_NFS_DEFAULT_PROTOCOL - specify the default protocol used by
|
|
|
39 |
# mount.nfs(8). Since we can't identify
|
|
|
40 |
# the default automatically we need to
|
|
|
41 |
# set it in our configuration.
|
|
|
42 |
#
|
|
|
43 |
#MOUNT_NFS_DEFAULT_PROTOCOL=3
|
|
|
44 |
MOUNT_NFS_DEFAULT_PROTOCOL=4
|
|
|
45 |
#
|
|
|
46 |
# APPEND_OPTIONS - append to global options instead of replace.
|
|
|
47 |
#
|
|
|
48 |
#APPEND_OPTIONS="yes"
|
|
|
49 |
#
|
|
|
50 |
# LOGGING - set default log level "none", "verbose" or "debug"
|
|
|
51 |
#
|
|
|
52 |
#LOGGING="none"
|
|
|
53 |
#
|
|
|
54 |
# Define base dn for map dn lookup.
|
|
|
55 |
#
|
|
|
56 |
# Define server URIs
|
|
|
57 |
#
|
|
|
58 |
# LDAP_URI - space seperated list of server uris of the form
|
|
|
59 |
# <proto>://<server>[/] where <proto> can be ldap
|
|
|
60 |
# or ldaps. The option can be given multiple times.
|
|
|
61 |
# Map entries that include a server name override
|
|
|
62 |
# this option.
|
|
|
63 |
#
|
|
|
64 |
# This configuration option can also be used to
|
|
|
65 |
# request autofs lookup SRV RRs for a domain of
|
|
|
66 |
# the form <proto>:///[<domain dn>]. Note that a
|
|
|
67 |
# trailing "/" is not allowed when using this form.
|
|
|
68 |
# If the domain dn is not specified the dns domain
|
|
|
69 |
# name (if any) is used to construct the domain dn
|
|
|
70 |
# for the SRV RR lookup. The server list returned
|
|
|
71 |
# from an SRV RR lookup is refreshed according to
|
|
|
72 |
# the minimum ttl found in the SRV RR records or
|
|
|
73 |
# after one hour, whichever is less.
|
|
|
74 |
#
|
|
|
75 |
#LDAP_URI=""
|
|
|
76 |
#
|
|
|
77 |
# LDAP__TIMEOUT - timeout value for the synchronous API calls
|
|
|
78 |
# (default is LDAP library default).
|
|
|
79 |
#
|
|
|
80 |
#LDAP_TIMEOUT=-1
|
|
|
81 |
#
|
|
|
82 |
# LDAP_NETWORK_TIMEOUT - set the network response timeout (default 8).
|
|
|
83 |
#
|
|
|
84 |
#LDAP_NETWORK_TIMEOUT=8
|
|
|
85 |
#
|
|
|
86 |
# SEARCH_BASE - base dn to use for searching for map search dn.
|
|
|
87 |
# Multiple entries can be given and they are checked
|
|
|
88 |
# in the order they occur here.
|
|
|
89 |
#
|
|
|
90 |
#SEARCH_BASE=""
|
|
|
91 |
#
|
|
|
92 |
# Define the LDAP schema to used for lookups
|
|
|
93 |
#
|
|
|
94 |
# If no schema is set autofs will check each of the schemas
|
|
|
95 |
# below in the order given to try and locate an appropriate
|
|
|
96 |
# basdn for lookups. If you want to minimize the number of
|
|
|
97 |
# queries to the server set the values here.
|
|
|
98 |
#
|
|
|
99 |
#MAP_OBJECT_CLASS="nisMap"
|
|
|
100 |
#ENTRY_OBJECT_CLASS="nisObject"
|
|
|
101 |
#MAP_ATTRIBUTE="nisMapName"
|
|
|
102 |
#ENTRY_ATTRIBUTE="cn"
|
|
|
103 |
#VALUE_ATTRIBUTE="nisMapEntry"
|
|
|
104 |
#
|
|
|
105 |
# Other common LDAP nameing
|
|
|
106 |
#
|
|
|
107 |
#MAP_OBJECT_CLASS="automountMap"
|
|
|
108 |
#ENTRY_OBJECT_CLASS="automount"
|
|
|
109 |
#MAP_ATTRIBUTE="ou"
|
|
|
110 |
#ENTRY_ATTRIBUTE="cn"
|
|
|
111 |
#VALUE_ATTRIBUTE="automountInformation"
|
|
|
112 |
#
|
|
|
113 |
#MAP_OBJECT_CLASS="automountMap"
|
|
|
114 |
#ENTRY_OBJECT_CLASS="automount"
|
|
|
115 |
#MAP_ATTRIBUTE="automountMapName"
|
|
|
116 |
#ENTRY_ATTRIBUTE="automountKey"
|
|
|
117 |
#VALUE_ATTRIBUTE="automountInformation"
|
|
|
118 |
#
|
|
|
119 |
# AUTH_CONF_FILE - set the default location for the SASL
|
|
|
120 |
# authentication configuration file.
|
|
|
121 |
#
|
|
|
122 |
#AUTH_CONF_FILE="/etc/autofs_ldap_auth.conf"
|
|
|
123 |
#
|
|
|
124 |
# MAP_HASH_TABLE_SIZE - set the map cache hash table size.
|
|
|
125 |
# Should be a power of 2 with a ratio roughly
|
|
|
126 |
# between 1:10 and 1:20 for each map.
|
|
|
127 |
#
|
|
|
128 |
#MAP_HASH_TABLE_SIZE=1024
|
|
|
129 |
#
|
|
|
130 |
# General global options
|
|
|
131 |
#
|
|
|
132 |
# If the kernel supports using the autofs miscellanous device
|
|
|
133 |
# and you wish to use it you must set this configuration option
|
|
|
134 |
# to "yes" otherwise it will not be used.
|
|
|
135 |
USE_MISC_DEVICE="yes"
|
|
|
136 |
#
|
|
|
137 |
#OPTIONS=""
|
|
|
138 |
#
|