1MAKEDBM(8)                   NIS Reference Manual                   MAKEDBM(8)
2
3
4

NAME

6       makedbm - create or dump a ypserv database file
7

SYNOPSIS

9       /usr/lib/yp/makedbm [-a | -r] [-b] [-c] [-s] [-l] [-i YP_INPUT_NAME]
10                           [-o YP_OUTPUT_NAME] [-m YP_MASTER_NAME] inputfile
11                           dbname
12
13       /usr/lib/yp/makedbm -u dbname
14
15       /usr/lib/yp/makedbm -c
16
17       /usr/lib/yp/makedbm --version
18

DESCRIPTION

20       makedbm takes the inputfile and converts it to a ypserv database file.
21       In the moment, GDBM is used as database. Each line of the input file is
22       converted to a single record. All characters up to the first TAB or
23       SPACE are the key, and the rest of the line is the data.  makedbm does
24       not treat `#' as a special character.
25

OPTIONS

27       -a
28           Special support for mail aliases. We couldn't use sendmail for it,
29           since sendmail uses db, but ypserv gdbm as database format.
30
31       -b
32           Insert the YP_INTERDOMAIN into the output. This key causes
33           ypserv(8) to use DNS for host name and address lookups for hosts
34           not found in the maps.
35
36       -c
37           send a YPPROC_CLEAR to the local ypserv(8). This causes ypserv to
38           invalidate all cached entries.
39
40       -l
41           Convert the keys of the given map to lower case.
42
43       -i YP_INPUT_NAME
44           Create a special entry with the key YP_INPUT_NAME.
45
46       -m YP_MASTER_NAME
47           Create a special entry with the key YP_MASTER_NAME. If no master
48           host name is specified, YP_MASTER_NAME will be set to the local
49           host name.
50
51       -o YP_OUTPUT_NAME
52           Create a special entry with the key YP_OUTPUT_NAME.
53
54       -r
55           Handle `#' as comment sign and remove the comment.
56
57       -s
58           Secure map. Accept connections from secure NIS networks only
59           (reserved ports).
60
61       -u dbname
62           Dump a ypserv database file. Prints out the file in text format,
63           one entry per line, with a single space separating keys from
64           values.
65
66       --no-limit-check
67           Don't check for NIS key and data limit.
68

SEE ALSO

70       ypserv(8)
71

AUTHOR

73       makedbm was written by Thorsten Kukuk <kukuk@linux-nis.org>.
74
75
76
77NIS Reference Manual              01/31/2020                        MAKEDBM(8)
Impressum