1MAKEDBM(8) System Manager's Manual MAKEDBM(8)
2
3
4
6 makedbm - create or dump a ypserv database file
7
9 /usr/lib64/yp/makedbm [ -a | -r ] [ -b ] [ -c ] [ -s ] [ -l ] [ -i
10 YP_INPUT_NAME ] [ -o YP_OUTPUT_NAME ] [ -m YP_MASTER_NAME ] inputfile
11 dbname
12 /usr/lib64/yp/makedbm -u dbname
13 /usr/lib64/yp/makedbm -c
14 /usr/lib64/yp/makedbm --version
15
17 makedbm takes the inputfile and converts it to a ypserv database file.
18 In the moment, GDBM is used as database. Each line of the input file is
19 converted to a single record. All characters up to the first TAB or
20 SPACE are the key, and the rest of the line is the data. makedbm does
21 not treat `#' as a special character.
22
24 -a Special support for mail aliases. We couldn't use sendmail for
25 it, since sendmail uses db, but ypserv gdbm as database format.
26
27 -b Insert the YP_INTERDOMAIN into the output. This key causes
28 ypserv(8) to use DNS for host name and address lookups for hosts
29 not found in the maps.
30
31 -c send a YPPROC_CLEAR to the local ypserv(8). This causes ypserv
32 to invalidate all cached entries.
33
34 -l Convert the keys of the given map to lower case.
35
36 -i YP_INPUT_NAME
37 Create a special entry with the key YP_INPUT_NAME.
38
39 -m YP_MASTER_NAME
40 Create a special entry with the key YP_MASTER_NAME. If no mas‐
41 ter host name is specified, YP_MASTER_NAME will be set to the
42 local host name.
43
44 -o YP_OUTPUT_NAME
45 Create a special entry with the key YP_OUTPUT_NAME.
46
47 -r Handle `#' as comment sign and remove the comment.
48
49 -s Secure map. Accept connections from secure NIS networks only
50 (reserved ports).
51
52 -u dbname
53 Dump a ypserv database file. Prints out the file in text format,
54 one entry per line, with a single space separating keys from
55 values.
56
57 --no-limit-check
58 Don't check for NIS key and data limit.
59
61 ypserv(8)
62
64 makedbm was written by Thorsten Kukuk <kukuk@suse.de>.
65
66
67
68YP Server August 2001 MAKEDBM(8)