amd.conf-sample revision 119679
1# -*- text -*- 2# A SAMPLE CONFIGURATION FILE FOR AMD 3 4############################################################################## 5# GLOBAL OPTIONS SECTION (must be first in amd.conf file) 6[ global ] 7# (amd -n) 8normalize_hostnames = yes | no 9# (amd -p) 10print_pid = yes | no 11pid_file = /dev/stdout | /var/run/amd.pid 12# (amd -r) 13restart_mounts = yes | no 14unmount_on_exit = no | yes 15# (amd -a) 16auto_dir = /a 17# duration in seconds that a looked up name remain cached (amd -c) 18cache_duration = 300 19# (amd -d) 20local_domain = cs.columbia.edu 21# (amd -k) 22karch = sun4m 23arch = sun4 24# if you don't like autoconf picking up "sunos5" as the os-type, override it 25# (amd -O) 26os = sos5 27# (amd -o) 28osver = 2.5.1 29# full os name 30full_os = linux-2.2.5 31# OS vendor 32vendor = redhat 33# if you print_version after setting up "os", it will show it. (amd -v) 34print_version = yes | no 35# (amd -l) 36log_file = /var/log/amd | syslog | syslog:facility 37# NFS (RPC/UDP) retry interval, in tenths of secs (amd -t interval.counter) 38nfs_retry_interval = 8 39nfs_retransmit_counter = 11 (eleven retransmission attempts) 40# (amd -w) 41dismount_interval = 120 42# (amd -y) 43nis_domain = nisDom-CS.columbia.edu 44# (amd -x) 45log_options = fatal,error,user,warn,info,map,stats,all 46# (amd -D) 47debug_options = all,amq,daemon,fork,full,hrtime,info,mem,mtab,\ 48 str,readdir,test,trace,xdrtrace 49# (amd -S) 50plock = no | yes 51# selectors are not recognized by default in the /defaults entry 52selectors_in_defaults = yes | no 53# should browsable maps show number of entries to df/statfs (default=no) 54show_statfs_entries = yes | no 55# (hpux) cluster name (amd -C) 56cluster = ??? 57# LDAP (Lightweight Directory Access Protocol) options 58ldap_base = "ou=Marketing, o=AMD Ltd, c=US" 59ldap_hostports = ldap.your.domain:389 60ldap_cache_seconds = 0 (default) 61ldap_cache_maxmem = 131072 (default) 62# default base name for hesiod maps 63hesiod_base = automount 64# these 5 options can be overridden by each map individually 65browsable_dirs = yes | no | full 66map_options = cache:=all 67map_type = file|hesiod|ndbm|nis|nisplus|passwd|union|ldap 68# regular amd (nfs) mount point (default) 69# don't try the "autofs" type. It is not implemented yet. 70mount_type = nfs 71search_path = /etc/local:/etc/amdmaps:/misc/yp 72# alternate RPC program number to register with the port mapper 73portmap_program = 300019-300029 74# use fully qualified host names 75fully_qualified_hosts = yes | no 76# force NFS version or NFS protocol 77nfs_vers = 2 | 3 78nfs_proto = udp | tcp 79 80############################################################################## 81# DEFINE AN AMD MOUNT POINT 82[ /home ] 83# map name must be defined, all else are optional 84map_name = /etc/amd.home | amd.home 85map_options = cache:=all 86# if map type is not defined, will search all map types (default) 87map_type = file|hesiod|ndbm|nis|nisplus|passwd|union|ldap 88search_path = /etc/local:/etc/amdmaps:/misc/yp 89# regular amd (nfs) mount point (default) 90# don't try the "autofs" type. It is not implemented yet. 91mount_type = nfs 92browsable_dirs = yes | no 93# an optional tag to be used with amd -T tag. untagged entries are always 94# used. Tagged ones get used only if specified with "amd -T" 95tag = test 96 97############################################################################## 98# DEFINE ANOTHER AMD MOUNT POINT 99[ /src ] 100map_name = /usr/local/lib/amdmaps/amu.src 101# regular amd (nfs) mount point (default) 102# don't try the "autofs" type. It is not implemented yet. 103mount_type = nfs 104 105############################################################################## 106