amd.conf-sample revision 82794
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
68mount_type =			nfs | autofs
69search_path =			/etc/local:/etc/amdmaps:/misc/yp
70# alternate RPC program number to register with the port mapper
71portmap_program =		300019-300029
72# use fully qualified host names
73fully_qualified_hosts =		yes | no
74# force NFS version or NFS protocol
75nfs_vers =			2 | 3
76nfs_proto =			udp | tcp
77
78##############################################################################
79# DEFINE AN AMD MOUNT POINT
80[ /home ]
81# map name must be defined, all else are optional
82map_name =			/etc/amd.home | amd.home
83map_options =			cache:=all
84# if map type is not defined, will search all map types (default)
85map_type =			file|hesiod|ndbm|nis|nisplus|passwd|union|ldap
86search_path =			/etc/local:/etc/amdmaps:/misc/yp
87# an amd or autofs mount point
88mount_type =			nfs | autofs
89browsable_dirs =		yes | no
90# an optional tag to be used with amd -T tag. untagged entries are always
91# used.  Tagged ones get used only if specified with "amd -T"
92tag =				test
93
94##############################################################################
95# DEFINE ANOTHER AMD MOUNT POINT
96[ /src ]
97map_name = /usr/local/lib/amdmaps/amu.src
98# regular amd (nfs) mount point (default)
99# don't try the "autofs" type.  It is not implemented yet.
100mount_type = nfs
101
102##############################################################################
103