amd.conf-sample revision 82794
138494Sobrien# -*- text -*- 238494Sobrien# A SAMPLE CONFIGURATION FILE FOR AMD 338494Sobrien 438494Sobrien############################################################################## 538494Sobrien# GLOBAL OPTIONS SECTION (must be first in amd.conf file) 638494Sobrien[ global ] 738494Sobrien# (amd -n) 838494Sobriennormalize_hostnames = yes | no 938494Sobrien# (amd -p) 1038494Sobrienprint_pid = yes | no 1138494Sobrienpid_file = /dev/stdout | /var/run/amd.pid 1238494Sobrien# (amd -r) 1338494Sobrienrestart_mounts = yes | no 1438494Sobrienunmount_on_exit = no | yes 1538494Sobrien# (amd -a) 1638494Sobrienauto_dir = /a 1738494Sobrien# duration in seconds that a looked up name remain cached (amd -c) 1838494Sobriencache_duration = 300 1938494Sobrien# (amd -d) 2038494Sobrienlocal_domain = cs.columbia.edu 2138494Sobrien# (amd -k) 2238494Sobrienkarch = sun4m 2338494Sobrienarch = sun4 2438494Sobrien# if you don't like autoconf picking up "sunos5" as the os-type, override it 2582794Sobrien# (amd -O) 2638494Sobrienos = sos5 2738494Sobrien# (amd -o) 2838494Sobrienosver = 2.5.1 2952894Sobrien# full os name 3052894Sobrienfull_os = linux-2.2.5 3152894Sobrien# OS vendor 3252894Sobrienvendor = redhat 3338494Sobrien# if you print_version after setting up "os", it will show it. (amd -v) 3438494Sobrienprint_version = yes | no 3538494Sobrien# (amd -l) 3638494Sobrienlog_file = /var/log/amd | syslog | syslog:facility 3738494Sobrien# NFS (RPC/UDP) retry interval, in tenths of secs (amd -t interval.counter) 3838494Sobriennfs_retry_interval = 8 3982794Sobriennfs_retransmit_counter = 11 (eleven retransmission attempts) 4038494Sobrien# (amd -w) 4138494Sobriendismount_interval = 120 4238494Sobrien# (amd -y) 4338494Sobriennis_domain = nisDom-CS.columbia.edu 4438494Sobrien# (amd -x) 4538494Sobrienlog_options = fatal,error,user,warn,info,map,stats,all 4638494Sobrien# (amd -D) 4782794Sobriendebug_options = all,amq,daemon,fork,full,hrtime,info,mem,mtab,\ 4882794Sobrien str,readdir,test,trace,xdrtrace 4938494Sobrien# (amd -S) 5038494Sobrienplock = no | yes 5182794Sobrien# selectors are not recognized by default in the /defaults entry 5282794Sobrienselectors_in_defaults = yes | no 5338494Sobrien# should browsable maps show number of entries to df/statfs (default=no) 5438494Sobrienshow_statfs_entries = yes | no 5538494Sobrien# (hpux) cluster name (amd -C) 5638494Sobriencluster = ??? 5738494Sobrien# LDAP (Lightweight Directory Access Protocol) options 5882794Sobrienldap_base = "ou=Marketing, o=AMD Ltd, c=US" 5982794Sobrienldap_hostports = ldap.your.domain:389 6038494Sobrienldap_cache_seconds = 0 (default) 6138494Sobrienldap_cache_maxmem = 131072 (default) 6238494Sobrien# default base name for hesiod maps 6338494Sobrienhesiod_base = automount 6438494Sobrien# these 5 options can be overridden by each map individually 6538494Sobrienbrowsable_dirs = yes | no | full 6638494Sobrienmap_options = cache:=all 6738494Sobrienmap_type = file|hesiod|ndbm|nis|nisplus|passwd|union|ldap 6838494Sobrienmount_type = nfs | autofs 6938494Sobriensearch_path = /etc/local:/etc/amdmaps:/misc/yp 7038494Sobrien# alternate RPC program number to register with the port mapper 7138494Sobrienportmap_program = 300019-300029 7282794Sobrien# use fully qualified host names 7338494Sobrienfully_qualified_hosts = yes | no 7482794Sobrien# force NFS version or NFS protocol 7582794Sobriennfs_vers = 2 | 3 7682794Sobriennfs_proto = udp | tcp 7738494Sobrien 7838494Sobrien############################################################################## 7938494Sobrien# DEFINE AN AMD MOUNT POINT 8038494Sobrien[ /home ] 8138494Sobrien# map name must be defined, all else are optional 8238494Sobrienmap_name = /etc/amd.home | amd.home 8338494Sobrienmap_options = cache:=all 8438494Sobrien# if map type is not defined, will search all map types (default) 8538494Sobrienmap_type = file|hesiod|ndbm|nis|nisplus|passwd|union|ldap 8638494Sobriensearch_path = /etc/local:/etc/amdmaps:/misc/yp 8738494Sobrien# an amd or autofs mount point 8838494Sobrienmount_type = nfs | autofs 8938494Sobrienbrowsable_dirs = yes | no 9038494Sobrien# an optional tag to be used with amd -T tag. untagged entries are always 9138494Sobrien# used. Tagged ones get used only if specified with "amd -T" 9238494Sobrientag = test 9338494Sobrien 9438494Sobrien############################################################################## 9538494Sobrien# DEFINE ANOTHER AMD MOUNT POINT 9638494Sobrien[ /src ] 9738494Sobrienmap_name = /usr/local/lib/amdmaps/amu.src 9838494Sobrien# regular amd (nfs) mount point (default) 9938494Sobrien# don't try the "autofs" type. It is not implemented yet. 10038494Sobrienmount_type = nfs 10138494Sobrien 10238494Sobrien############################################################################## 103