1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
|
'\" t
.\" Title: makedbm
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 12/31/2020
.\" Manual: NIS Reference Manual
.\" Source: NIS Reference Manual
.\" Language: English
.\"
.TH "MAKEDBM" "8" "12/31/2020" "NIS Reference Manual" "NIS Reference Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
makedbm \- create or dump a ypserv database file
.SH "SYNOPSIS"
.HP \w'\fB/usr/lib/yp/makedbm\fR\ 'u
\fB/usr/lib/yp/makedbm\fR [\-a | \-r] [\-b] [\-c] [\-s] [\-l] [\-i\ \fIYP_INPUT_NAME\fR] [\-o\ \fIYP_OUTPUT_NAME\fR] [\-m\ \fIYP_MASTER_NAME\fR] \fIinputfile\fR \fIdbname\fR
.HP \w'\fB/usr/lib/yp/makedbm\fR\ 'u
\fB/usr/lib/yp/makedbm\fR \-u\ \fIdbname\fR
.HP \w'\fB/usr/lib/yp/makedbm\fR\ 'u
\fB/usr/lib/yp/makedbm\fR \-c
.HP \w'\fB/usr/lib/yp/makedbm\fR\ 'u
\fB/usr/lib/yp/makedbm\fR \-\-version
.SH "DESCRIPTION"
.PP
\fBmakedbm\fR
takes the inputfile and converts it to a ypserv database file\&. In the moment, GDBM is used as database\&. Each line of the input file is converted to a single record\&. All characters up to the first TAB or SPACE are the key, and the rest of the line is the data\&.
\fBmakedbm\fR
does not treat `#\*(Aq as a special character\&.
.SH "OPTIONS"
.PP
\fB\-a\fR
.RS 4
Special support for mail aliases\&. We couldn\*(Aqt use sendmail for it, since sendmail uses db, but ypserv gdbm as database format\&.
.RE
.PP
\fB\-b\fR
.RS 4
Insert the
\fBYP_INTERDOMAIN\fR
into the output\&. This key causes
\fBypserv\fR(8)
to use
\fBDNS\fR
for host name and address lookups for hosts not found in the maps\&.
.RE
.PP
\fB\-c\fR
.RS 4
send a
\fBYPPROC_CLEAR\fR
to the local
\fBypserv\fR(8)\&. This causes ypserv to invalidate all cached entries\&.
.RE
.PP
\fB\-l\fR
.RS 4
Convert the keys of the given map to lower case\&.
.RE
.PP
\fB\-i\fR\fI YP_INPUT_NAME\fR
.RS 4
Create a special entry with the key
\fBYP_INPUT_NAME\fR\&.
.RE
.PP
\fB\-m\fR\fI YP_MASTER_NAME\fR
.RS 4
Create a special entry with the key
\fBYP_MASTER_NAME\fR\&. If no master host name is specified,
\fBYP_MASTER_NAME\fR
will be set to the local host name\&.
.RE
.PP
\fB\-o\fR\fI YP_OUTPUT_NAME\fR
.RS 4
Create a special entry with the key
\fBYP_OUTPUT_NAME\fR\&.
.RE
.PP
\fB\-r\fR
.RS 4
Handle `#\*(Aq as comment sign and remove the comment\&.
.RE
.PP
\fB\-s\fR
.RS 4
Secure map\&. Accept connections from secure
\fBNIS\fR
networks only (reserved ports)\&.
.RE
.PP
\fB\-u\fR\fI dbname\fR
.RS 4
Dump a ypserv database file\&. Prints out the file in text format, one entry per line, with a single space separating keys from values\&.
.RE
.PP
\fB\-\-no\-limit\-check\fR
.RS 4
Don\*(Aqt check for NIS key and data limit\&.
.RE
.SH "SEE ALSO"
.PP
\fBypserv\fR(8)
.SH "AUTHOR"
.PP
\fBmakedbm\fR
was written by Thorsten Kukuk <kukuk@linux\-nis\&.org>\&.
|