1 # A SAMPLE CONFIGURATION FILE FOR AMD
3 ##############################################################################
4 # GLOBAL OPTIONS SECTION (must be first in amd.conf file)
5 # For most options, the default value is listed first, but see amd.conf(5)
8 normalize_hostnames = no | yes
9 # do we want to strip domain names from hostnames or not?
10 domain_strip = yes | no
13 pid_file = /dev/stdout | /var/run/amd.pid
15 restart_mounts = no | yes
16 unmount_on_exit = no | yes
17 forced_unmounts = no | yes
20 # duration in seconds that a looked up name remain cached (amd -c)
23 local_domain = cs.columbia.edu
28 # if you don't like autoconf picking up "sunos5" as the os-type, override it
37 # if you print_version after setting up "os", it will show it. (amd -v)
38 print_version = no | yes
40 log_file = /dev/stderr | /var/log/amd | syslog[:facility]
41 # should we truncate the log file on startup?
42 truncate_log = no | yes
43 # NFS (RPC) retry interval/counter, in tenths of secs (amd -t interval.counter)
44 nfs_retry_interval = 8
45 nfs_retransmit_counter = 11 (eleven retransmission attempts)
46 # The next four are the same as the above two, but allow you to set global
47 # values for all UDP vs. TCP mounts separately.
48 nfs_retry_interval_udp = 16
49 nfs_retransmit_counter_udp = 22
50 nfs_retry_interval_tcp = 4
51 nfs_retransmit_counter_tcp = 5
52 # These two are specific to Amd's top-level (NFSv2/udp) mounts
53 # and they can also be set separately.
54 nfs_retry_interval_toplvl = 6
55 nfs_retransmit_counter_toplvl = 8
56 # NFS attribute cache value for Amd's automount points
57 # (some OSs use this parameter in units of seconds, and others in 0.1 seconds)
58 # See README.attrcache for important information about this parameter.
61 dismount_interval = 120
63 nis_domain = nisDom-CS.columbia.edu
65 log_options = fatal,error,user,warn,info,map,stats,all
67 debug_options = all,defaults,test,amq,daemon,fork,\
68 full,hrtime,info,mem,mtab,str,readdir,trace,xdrtrace
69 # path for mtab file during mtab debug mode
70 debug_mtab_file = /tmp/mnttab
73 # should browsable maps show number of entries to df/statfs (default=no)
74 show_statfs_entries = no | yes
75 # (hpux) cluster name (amd -C)
77 # LDAP (Lightweight Directory Access Protocol) options
78 ldap_base = "ou=Marketing, o=AMD Ltd, c=US"
79 ldap_hostports = ldap.your.domain:389
80 ldap_cache_seconds = 0
81 ldap_cache_maxmem = 131072
82 ldap_proto_version = 2
83 # default base name for hesiod maps
84 hesiod_base = automount
85 # interval to check if a reload of any maps is needed
86 map_reload_interval = 3600
87 # alternate RPC program number to register with the port mapper
88 portmap_program = 300019-300029
89 # Ask for a different Amq RPC port (both UDP and TCP).
90 # If set to 0 (default), Amd will pick a port automatically.
91 preferred_amq_port = 1234
92 # use fully qualified host names
93 fully_qualified_hosts = no | yes
94 # force NFS version or NFS protocol
97 # perform Amq service checks via tcpwrappers (tcpd/libwrap)
98 use_tcpwrappers = yes | no
99 # allow NFS requests from insecure (>=1024) ports
100 nfs_allow_insecure_port = no | yes
101 # accept local NFS packets from any local interface, not just 127.0.0.1
102 nfs_allow_any_interface = no | yes
103 # address used for local NFS mount and RPC server (default to localhost)
104 localhost_address = foo.example.com | 192.168.1.2
105 # number of seconds to timeout before map returns output
106 exec_map_timeout = 10
107 # normalize multiple/trailing slashes or not?
108 normalize_slashes = yes | no
110 ##############################################################################
111 # these 9 global options can be overridden by each map individually
112 browsable_dirs = no | yes | full
113 map_options = cache:=all
114 map_type = file|hesiod|ndbm|nis|nisplus|passwd|union|ldap
115 # any string that will be used to override to the map /defaults entry
116 map_defaults = opts:=nosuid,rw,intr,bg,noquota;type:=link
117 mount_type = nfs | autofs
118 autofs_use_lofs = yes | no
119 search_path = /etc/local:/etc/amdmaps:/misc/yp
120 # selectors are not recognized by default in the /defaults entry
121 selectors_in_defaults = no | yes
122 # does this map use Sun Automounter map syntax?
123 sun_map_syntax = no | yes
124 ##############################################################################
126 ##############################################################################
127 # DEFINE AN AMD MOUNT POINT
129 # map name must be defined, all else are optional
130 map_name = /etc/amd.home | amd.home
131 map_options = cache:=all
132 # if map type is not defined, will search all map types (default)
133 map_type = file|hesiod|ndbm|nis|nisplus|passwd|union|ldap
134 search_path = /etc/local:/etc/amdmaps:/misc/yp
135 # an amd or autofs mount point
136 mount_type = nfs | autofs
137 browsable_dirs = yes | no
138 # an optional tag to be used with amd -T tag. untagged entries are always
139 # used. Tagged ones get used only if specified with "amd -T"
142 ##############################################################################
143 # DEFINE ANOTHER AMD MOUNT POINT
145 map_name = /usr/local/lib/amdmaps/amu.src
146 # regular amd (nfs) mount point (default)
148 # any string that will be used as prefix to the map /defaults entry
149 # this overrides what's defined in [global]
150 map_defaults = type:=nfs
152 ##############################################################################
153 # DEFINE ANOTHER AMD MOUNT POINT
155 map_name = /etc/lookup-entry.sh
156 # an executable map type
159 ##############################################################################
160 # DEFINE A SUN SYNTAX MOUNT POINT
162 map_name = /etc/amd.proj
163 # does this map use Sun Automounter map syntax?
166 ##############################################################################