amd.conf-sample revision 52894
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)
1851292Sobriencache_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
2551292Sobrienos =				sos5
2638494Sobrien# (amd -o)
2738494Sobrienosver =				2.5.1
2838494Sobrien# full os name
2938494Sobrienfull_os =			linux-2.2.5
3038494Sobrien# OS vendor
3138494Sobrienvendor =			redhat
3238494Sobrien# if you print_version after setting up "os", it will show it. (amd -v)
3338494Sobrienprint_version =			yes | no
3438494Sobrien# (amd -l)
3538494Sobrienlog_file =			/var/log/amd | syslog | syslog:facility
3651292Sobrien# NFS (RPC/UDP) retry interval, in tenths of secs (amd -t interval.counter)
3738494Sobriennfs_retry_interval =		8
3838494Sobriennfs_retransmit_counter =	110
3938494Sobrien# (amd -w)
4038494Sobriendismount_interval =		120
4138494Sobrien# (amd -y)
4238494Sobriennis_domain =			nisDom-CS.columbia.edu
4338494Sobrien# (amd -x)
4438494Sobrienlog_options =			fatal,error,user,warn,info,map,stats,all
4538494Sobrien# (amd -D)
4638494Sobriendebug_options =		all,amq,daemon,fork,full,info,mem,mtab,str,test,trace
4738494Sobrien# (amd -S)
4838494Sobrienplock =				no | yes
4938494Sobrien# selectors on /defaults are off by default
5038494Sobrienselectors_on_default =		yes | no
5138494Sobrien# should browsable maps show number of entries to df/statfs (default=no)
5238494Sobrienshow_statfs_entries =		yes | no
5338494Sobrien# (hpux) cluster name (amd -C)
5438494Sobriencluster =			???
5538494Sobrien# LDAP (Lightweight Directory Access Protocol) options
5638494Sobrienldap_base =			ldap.your.domain:389
5738494Sobrienldap_hostports =		"ou=Marketing, o=AMD Ltd, c=US"
5838494Sobrienldap_cache_seconds =		0 (default)
5941142Sobrienldap_cache_maxmem =		131072 (default)
6041142Sobrien# default base name for hesiod maps
6141142Sobrienhesiod_base =			automount
6241142Sobrien# these 5 options can be overridden by each map individually
6342629Sobrienbrowsable_dirs =		yes | no | full
6451292Sobrienmap_options =			cache:=all
6551292Sobrienmap_type =			file|hesiod|ndbm|nis|nisplus|passwd|union|ldap
6651292Sobrienmount_type =			nfs | autofs
6742629Sobriensearch_path =			/etc/local:/etc/amdmaps:/misc/yp
6851292Sobrien# alternate RPC program number to register with the port mapper
6951292Sobrienportmap_program =		300019-300029
7051292Sobrien# Use fully qualified host names
7151292Sobrienfully_qualified_hosts =		yes | no
7251292Sobrien
7351292Sobrien##############################################################################
7451292Sobrien# DEFINE AN AMD MOUNT POINT
7551292Sobrien[ /home ]
7651292Sobrien# map name must be defined, all else are optional
7751292Sobrienmap_name =			/etc/amd.home | amd.home
7851292Sobrienmap_options =			cache:=all
7951292Sobrien# if map type is not defined, will search all map types (default)
8051292Sobrienmap_type =			file|hesiod|ndbm|nis|nisplus|passwd|union|ldap
8151292Sobriensearch_path =			/etc/local:/etc/amdmaps:/misc/yp
8251292Sobrien# an amd or autofs mount point
8351292Sobrienmount_type =			nfs | autofs
8451292Sobrienbrowsable_dirs =		yes | no
8551292Sobrien# an optional tag to be used with amd -T tag. untagged entries are always
8651292Sobrien# used.  Tagged ones get used only if specified with "amd -T"
8751292Sobrientag =				test
8851292Sobrien
8951292Sobrien##############################################################################
9052894Sobrien# DEFINE ANOTHER AMD MOUNT POINT
9152894Sobrien[ /src ]
9252894Sobrienmap_name = /usr/local/lib/amdmaps/amu.src
9352894Sobrien# regular amd (nfs) mount point (default)
9452894Sobrien# don't try the "autofs" type.  It is not implemented yet.
9552894Sobrienmount_type = nfs
9652894Sobrien
9752894Sobrien##############################################################################
9852894Sobrien