amd.conf-sample revision 131702
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# allow NFS requests from insecure (>=1024) ports 80nfs_allow_insecure_port = yes | no 81 82############################################################################## 83# DEFINE AN AMD MOUNT POINT 84[ /home ] 85# map name must be defined, all else are optional 86map_name = /etc/amd.home | amd.home 87map_options = cache:=all 88# if map type is not defined, will search all map types (default) 89map_type = file|hesiod|ndbm|nis|nisplus|passwd|union|ldap 90search_path = /etc/local:/etc/amdmaps:/misc/yp 91# regular amd (nfs) mount point (default) 92# don't try the "autofs" type. It is not implemented yet. 93mount_type = nfs 94browsable_dirs = yes | no 95# an optional tag to be used with amd -T tag. untagged entries are always 96# used. Tagged ones get used only if specified with "amd -T" 97tag = test 98 99############################################################################## 100# DEFINE ANOTHER AMD MOUNT POINT 101[ /src ] 102map_name = /usr/local/lib/amdmaps/amu.src 103# regular amd (nfs) mount point (default) 104# don't try the "autofs" type. It is not implemented yet. 105mount_type = nfs 106 107############################################################################## 108