]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/amd/scripts/amd.conf-sample
This commit was generated by cvs2svn to compensate for changes in r172767,
[FreeBSD/FreeBSD.git] / contrib / amd / scripts / amd.conf-sample
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)
8 normalize_hostnames =           yes | no
9 # (amd -p)
10 print_pid =                     yes | no
11 pid_file =                      /dev/stdout | /var/run/amd.pid
12 # (amd -r)
13 restart_mounts =                yes | no
14 unmount_on_exit =               no | yes
15 # (amd -a)
16 auto_dir =                      /a
17 # duration in seconds that a looked up name remain cached (amd -c)
18 cache_duration =                300
19 # (amd -d)
20 local_domain =                  cs.columbia.edu
21 # (amd -k)
22 karch =                         sun4m
23 arch =                          sun4
24 # if you don't like autoconf picking up "sunos5" as the os-type, override it
25 # (amd -O)
26 os =                            sos5
27 # (amd -o)
28 osver =                         2.5.1
29 # full os name
30 full_os =                       linux-2.2.5
31 # OS vendor
32 vendor =                        redhat
33 # if you print_version after setting up "os", it will show it. (amd -v)
34 print_version =                 yes | no
35 # (amd -l)
36 log_file =                      /var/log/amd | syslog | syslog:facility
37 # NFS (RPC/UDP) retry interval, in tenths of secs (amd -t interval.counter)
38 nfs_retry_interval =            8
39 nfs_retransmit_counter =        11 (eleven retransmission attempts)
40 # (amd -w)
41 dismount_interval =             120
42 # (amd -y)
43 nis_domain =                    nisDom-CS.columbia.edu
44 # (amd -x)
45 log_options =                   fatal,error,user,warn,info,map,stats,all
46 # (amd -D)
47 debug_options =                 all,amq,daemon,fork,full,hrtime,info,mem,mtab,\
48                                 str,readdir,test,trace,xdrtrace
49 # (amd -S)
50 plock =                         no | yes
51 # selectors are not recognized by default in the /defaults entry
52 selectors_in_defaults =         yes | no
53 # should browsable maps show number of entries to df/statfs (default=no)
54 show_statfs_entries =           yes | no
55 # (hpux) cluster name (amd -C)
56 cluster =                       ???
57 # LDAP (Lightweight Directory Access Protocol) options
58 ldap_base =                     "ou=Marketing, o=AMD Ltd, c=US"
59 ldap_hostports =                ldap.your.domain:389
60 ldap_cache_seconds =            0 (default)
61 ldap_cache_maxmem =             131072 (default)
62 # default base name for hesiod maps
63 hesiod_base =                   automount
64 # these 5 options can be overridden by each map individually
65 browsable_dirs =                yes | no | full
66 map_options =                   cache:=all
67 map_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.
70 mount_type =                    nfs
71 search_path =                   /etc/local:/etc/amdmaps:/misc/yp
72 # alternate RPC program number to register with the port mapper
73 portmap_program =               300019-300029
74 # use fully qualified host names
75 fully_qualified_hosts =         yes | no
76 # force NFS version or NFS protocol
77 nfs_vers =                      2 | 3
78 nfs_proto =                     udp | tcp
79 # allow NFS requests from insecure (>=1024) ports
80 nfs_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
86 map_name =                      /etc/amd.home | amd.home
87 map_options =                   cache:=all
88 # if map type is not defined, will search all map types (default)
89 map_type =                      file|hesiod|ndbm|nis|nisplus|passwd|union|ldap
90 search_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.
93 mount_type =                    nfs
94 browsable_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"
97 tag =                           test
98
99 ##############################################################################
100 # DEFINE ANOTHER AMD MOUNT POINT
101 [ /src ]
102 map_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.
105 mount_type = nfs
106
107 ##############################################################################