amd.conf-sample revision 52894
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
25os =				sos5
26# (amd -o)
27osver =				2.5.1
28# full os name
29full_os =			linux-2.2.5
30# OS vendor
31vendor =			redhat
32# if you print_version after setting up "os", it will show it. (amd -v)
33print_version =			yes | no
34# (amd -l)
35log_file =			/var/log/amd | syslog | syslog:facility
36# NFS (RPC/UDP) retry interval, in tenths of secs (amd -t interval.counter)
37nfs_retry_interval =		8
38nfs_retransmit_counter =	110
39# (amd -w)
40dismount_interval =		120
41# (amd -y)
42nis_domain =			nisDom-CS.columbia.edu
43# (amd -x)
44log_options =			fatal,error,user,warn,info,map,stats,all
45# (amd -D)
46debug_options =		all,amq,daemon,fork,full,info,mem,mtab,str,test,trace
47# (amd -S)
48plock =				no | yes
49# selectors on /defaults are off by default
50selectors_on_default =		yes | no
51# should browsable maps show number of entries to df/statfs (default=no)
52show_statfs_entries =		yes | no
53# (hpux) cluster name (amd -C)
54cluster =			???
55# LDAP (Lightweight Directory Access Protocol) options
56ldap_base =			ldap.your.domain:389
57ldap_hostports =		"ou=Marketing, o=AMD Ltd, c=US"
58ldap_cache_seconds =		0 (default)
59ldap_cache_maxmem =		131072 (default)
60# default base name for hesiod maps
61hesiod_base =			automount
62# these 5 options can be overridden by each map individually
63browsable_dirs =		yes | no | full
64map_options =			cache:=all
65map_type =			file|hesiod|ndbm|nis|nisplus|passwd|union|ldap
66mount_type =			nfs | autofs
67search_path =			/etc/local:/etc/amdmaps:/misc/yp
68# alternate RPC program number to register with the port mapper
69portmap_program =		300019-300029
70# Use fully qualified host names
71fully_qualified_hosts =		yes | no
72
73##############################################################################
74# DEFINE AN AMD MOUNT POINT
75[ /home ]
76# map name must be defined, all else are optional
77map_name =			/etc/amd.home | amd.home
78map_options =			cache:=all
79# if map type is not defined, will search all map types (default)
80map_type =			file|hesiod|ndbm|nis|nisplus|passwd|union|ldap
81search_path =			/etc/local:/etc/amdmaps:/misc/yp
82# an amd or autofs mount point
83mount_type =			nfs | autofs
84browsable_dirs =		yes | no
85# an optional tag to be used with amd -T tag. untagged entries are always
86# used.  Tagged ones get used only if specified with "amd -T"
87tag =				test
88
89##############################################################################
90# DEFINE ANOTHER AMD MOUNT POINT
91[ /src ]
92map_name = /usr/local/lib/amdmaps/amu.src
93# regular amd (nfs) mount point (default)
94# don't try the "autofs" type.  It is not implemented yet.
95mount_type = nfs
96
97##############################################################################
98