138494Sobrien# A SAMPLE CONFIGURATION FILE FOR AMD 238494Sobrien 338494Sobrien############################################################################## 438494Sobrien# GLOBAL OPTIONS SECTION (must be first in amd.conf file) 5174294Sobrien# For most options, the default value is listed first, but see amd.conf(5) 638494Sobrien[ global ] 738494Sobrien# (amd -n) 8174294Sobriennormalize_hostnames = no | yes 9174294Sobrien# do we want to strip domain names from hostnames or not? 10174294Sobriendomain_strip = yes | no 1138494Sobrien# (amd -p) 12174294Sobrienprint_pid = no | yes 1338494Sobrienpid_file = /dev/stdout | /var/run/amd.pid 1438494Sobrien# (amd -r) 15174294Sobrienrestart_mounts = no | yes 1638494Sobrienunmount_on_exit = no | yes 17174294Sobrienforced_unmounts = no | yes 1838494Sobrien# (amd -a) 1938494Sobrienauto_dir = /a 2038494Sobrien# duration in seconds that a looked up name remain cached (amd -c) 2138494Sobriencache_duration = 300 2238494Sobrien# (amd -d) 2338494Sobrienlocal_domain = cs.columbia.edu 2438494Sobrien# (amd -k) 2538494Sobrienkarch = sun4m 26174294Sobrien# (amd -A) 2738494Sobrienarch = sun4 2838494Sobrien# if you don't like autoconf picking up "sunos5" as the os-type, override it 2982794Sobrien# (amd -O) 3038494Sobrienos = sos5 3138494Sobrien# (amd -o) 3238494Sobrienosver = 2.5.1 3352894Sobrien# full os name 3452894Sobrienfull_os = linux-2.2.5 3552894Sobrien# OS vendor 3652894Sobrienvendor = redhat 3738494Sobrien# if you print_version after setting up "os", it will show it. (amd -v) 38174294Sobrienprint_version = no | yes 3938494Sobrien# (amd -l) 40174294Sobrienlog_file = /dev/stderr | /var/log/amd | syslog[:facility] 41174294Sobrien# should we truncate the log file on startup? 42174294Sobrientruncate_log = no | yes 43174294Sobrien# NFS (RPC) retry interval/counter, in tenths of secs (amd -t interval.counter) 4438494Sobriennfs_retry_interval = 8 4582794Sobriennfs_retransmit_counter = 11 (eleven retransmission attempts) 46174294Sobrien# The next four are the same as the above two, but allow you to set global 47174294Sobrien# values for all UDP vs. TCP mounts separately. 48174294Sobriennfs_retry_interval_udp = 16 49174294Sobriennfs_retransmit_counter_udp = 22 50174294Sobriennfs_retry_interval_tcp = 4 51174294Sobriennfs_retransmit_counter_tcp = 5 52174294Sobrien# These two are specific to Amd's top-level (NFSv2/udp) mounts 53174294Sobrien# and they can also be set separately. 54174294Sobriennfs_retry_interval_toplvl = 6 55174294Sobriennfs_retransmit_counter_toplvl = 8 56174294Sobrien# NFS attribute cache value for Amd's automount points 57174294Sobrien# (some OSs use this parameter in units of seconds, and others in 0.1 seconds) 58174294Sobrien# See README.attrcache for important information about this parameter. 59174294Sobrienauto_attrcache = 0 6038494Sobrien# (amd -w) 6138494Sobriendismount_interval = 120 6238494Sobrien# (amd -y) 6338494Sobriennis_domain = nisDom-CS.columbia.edu 6438494Sobrien# (amd -x) 6538494Sobrienlog_options = fatal,error,user,warn,info,map,stats,all 6638494Sobrien# (amd -D) 6782794Sobriendebug_options = all,amq,daemon,fork,full,hrtime,info,mem,mtab,\ 6882794Sobrien str,readdir,test,trace,xdrtrace 69174294Sobrien# path for mtab file during mtab debug mode 70174294Sobriendebug_mtab_file = /tmp/mnttab 7138494Sobrien# (amd -S) 72174294Sobrienplock = yes | no 7338494Sobrien# should browsable maps show number of entries to df/statfs (default=no) 74174294Sobrienshow_statfs_entries = no | yes 7538494Sobrien# (hpux) cluster name (amd -C) 7638494Sobriencluster = ??? 7738494Sobrien# LDAP (Lightweight Directory Access Protocol) options 7882794Sobrienldap_base = "ou=Marketing, o=AMD Ltd, c=US" 7982794Sobrienldap_hostports = ldap.your.domain:389 80174294Sobrienldap_cache_seconds = 0 81174294Sobrienldap_cache_maxmem = 131072 82174294Sobrienldap_proto_version = 2 8338494Sobrien# default base name for hesiod maps 8438494Sobrienhesiod_base = automount 85174294Sobrien# interval to check if a reload of any maps is needed 86174294Sobrienmap_reload_interval = 3600 8738494Sobrien# alternate RPC program number to register with the port mapper 8838494Sobrienportmap_program = 300019-300029 89174294Sobrien# Ask for a different Amq RPC port (both UDP and TCP). 90174294Sobrien# If set to 0 (default), Amd will pick a port automatically. 91174294Sobrienpreferred_amq_port = 1234 9282794Sobrien# use fully qualified host names 93174294Sobrienfully_qualified_hosts = no | yes 9482794Sobrien# force NFS version or NFS protocol 9582794Sobriennfs_vers = 2 | 3 9682794Sobriennfs_proto = udp | tcp 97174294Sobrien# perform Amq service checks via tcpwrappers (tcpd/libwrap) 98174294Sobrienuse_tcpwrappers = yes | no 99131702Smbr# allow NFS requests from insecure (>=1024) ports 100174294Sobriennfs_allow_insecure_port = no | yes 101174294Sobrien# accept local NFS packets from any local interface, not just 127.0.0.1 102174294Sobriennfs_allow_any_interface = no | yes 103174294Sobrien# address used for local NFS mount and RPC server (default to localhost) 104174294Sobrienlocalhost_address = foo.example.com | 192.168.1.2 105174294Sobrien# number of seconds to timeout before map returns output 106174294Sobrienexec_map_timeout = 10 107174294Sobrien# normalize multiple/trailing slashes or not? 108174294Sobriennormalize_slashes = yes | no 10938494Sobrien 11038494Sobrien############################################################################## 111174294Sobrien# these 8 global options can be overridden by each map individually 112174294Sobrienbrowsable_dirs = no | yes | full 113174294Sobrienmap_options = cache:=all 114174294Sobrienmap_type = file|hesiod|ndbm|nis|nisplus|passwd|union|ldap 115174294Sobrien# any string that will be used to override to the map /defaults entry 116174294Sobrienmap_defaults = opts:=nosuid,rw,intr,bg,noquota;type:=link 117174294Sobrienmount_type = nfs | autofs 118174294Sobrienautofs_use_lofs = yes | no 119174294Sobriensearch_path = /etc/local:/etc/amdmaps:/misc/yp 120174294Sobrien# selectors are not recognized by default in the /defaults entry 121174294Sobrienselectors_in_defaults = no | yes 122174294Sobrien############################################################################## 123174294Sobrien 124174294Sobrien############################################################################## 12538494Sobrien# DEFINE AN AMD MOUNT POINT 12638494Sobrien[ /home ] 12738494Sobrien# map name must be defined, all else are optional 12838494Sobrienmap_name = /etc/amd.home | amd.home 12938494Sobrienmap_options = cache:=all 13038494Sobrien# if map type is not defined, will search all map types (default) 13138494Sobrienmap_type = file|hesiod|ndbm|nis|nisplus|passwd|union|ldap 13238494Sobriensearch_path = /etc/local:/etc/amdmaps:/misc/yp 133174294Sobrien# an amd or autofs mount point 134174294Sobrienmount_type = nfs | autofs 13538494Sobrienbrowsable_dirs = yes | no 13638494Sobrien# an optional tag to be used with amd -T tag. untagged entries are always 13738494Sobrien# used. Tagged ones get used only if specified with "amd -T" 13838494Sobrientag = test 13938494Sobrien 14038494Sobrien############################################################################## 14138494Sobrien# DEFINE ANOTHER AMD MOUNT POINT 14238494Sobrien[ /src ] 143174294Sobrienmap_name = /usr/local/lib/amdmaps/amu.src 14438494Sobrien# regular amd (nfs) mount point (default) 145174294Sobrienmount_type = nfs 146174294Sobrien# any string that will be used as prefix to the map /defaults entry 147174294Sobrien# this overrides what's defined in [global] 148174294Sobrienmap_defaults = type:=nfs 14938494Sobrien 15038494Sobrien############################################################################## 151174294Sobrien# DEFINE ANOTHER AMD MOUNT POINT 152174294Sobrien[ /test ] 153174294Sobrienmap_name = /etc/lookup-entry.sh 154174294Sobrien# an executable map type 155174294Sobrienmap_type = exec 156174294Sobrien 157174294Sobrien############################################################################## 158174294Sobrien# DEFINE A SUN SYNTAX MOUNT POINT 159174294Sobrien[ /proj ] 160174294Sobrienmap_name = /etc/amd.proj 161174294Sobrien# does this map use Sun Automounter map syntax? 162174294Sobriensun_map_syntax = yes 163174294Sobrien 164174294Sobrien############################################################################## 165