xref: /netbsd-src/usr.sbin/ypserv/makedbm/makedbm.8 (revision d0fed6c87ddc40a8bffa6f99e7433ddfc864dd83)
1.\"	$NetBSD: makedbm.8,v 1.1.1.1 1996/08/09 10:14:54 thorpej Exp $
2.\"
3.\" Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se>
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\" 3. All advertising materials mentioning features or use of this software
15.\"    must display the following acknowledgement:
16.\"	This product includes software developed by Mats O Jansson
17.\" 4. The name of the author may not be used to endorse or promote products
18.\"    derived from this software without specific prior written permission.
19.\"
20.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
21.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
22.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
24.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.Dd July 19, 1994
33.Dt MAKEDBM 8
34.Os
35.Sh NAME
36.Nm makedbm
37.Nd create a YP database
38.Sh SYNOPSIS
39.Nm makedbm
40.Op Fl u Ar file
41.Nm /usr/sbin/makedbm
42.Op Fl bls
43.Op Fl i Ar yp_input_file
44.Op Fl o Ar yp_output_file
45.Op Fl d Ar yp_domain_name
46.Op Fl m Ar yp_master_name
47.Ar infile
48.Ar outfile
49.Sh DESCRIPTION
50.Nm Makedbm
51is the utiliy in YP that creates the
52.Xr db 3
53database file containing the YP map.
54.Pp
55.Pp
56The options are as follows:
57.Bl -tag -width indent
58.It Fl b
59Interdomain. Include an entry in the database informing a YP server to use
60DNS to get information about unknown hosts. This option will only have
61effect on the two maps hosts.byname and hosts.byaddr.
62.It Fl l
63Lowercase. Convert all keys to lower case before adding them to the YP
64database.
65.It Fl s
66Secure map. Include an entry in the database informing
67.Xr ypxfr 8
68and
69.Xr ypserv 8
70that the YP map is going to be handled as secure.
71.It Fl i Ar yp_input_file
72Include an entry the in the map with the key YP_INPUT_FILE and the argument
73as value.
74.It Fl o Ar yp_output_file
75Include an entry the in the map with the key YP_OUTPUT_FILE and the argument
76as value.
77.It Fl d Ar yp_domain_name
78Include an entry the in the map with the key YP_DOMAIN_NAME and the argument
79as value.
80.It Fl m Ar yp_master_name
81Include an entry the in the map with the key YP_MASTER_NAME and the argument
82as value.
83.El
84.Sh SEE ALSO
85.Xr yp 8 ,
86.Xr db 3 ,
87.Xr ypxfr 8 ,
88.Xr ypserv 8
89.Sh AUTHOR
90Mats O Jansson <moj@stacken.kth.se>
91