xref: /freebsd/usr.sbin/ypldap/ypldap.8 (revision a64729f5077d77e13b9497cb33ecb3c82e606ee8)
1.\"	$OpenBSD: ypldap.8,v 1.10 2015/07/27 17:28:40 sobrado Exp $
2.\"
3.\" Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
4.\"
5.\" Permission to use, copy, modify, and distribute this software for any
6.\" purpose with or without fee is hereby granted, provided that the above
7.\" copyright notice and this permission notice appear in all copies.
8.\"
9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\"
17.Dd $Mdocdate: June 8 2016 $
18.Dt YPLDAP 8
19.Os
20.Sh NAME
21.Nm ypldap
22.Nd YP map server using LDAP backend
23.Sh SYNOPSIS
24.Nm
25.Op Fl dnv
26.Op Fl D Ar macro Ns = Ns Ar value
27.Op Fl f Ar file
28.Sh DESCRIPTION
29.Nm
30is a daemon providing YP maps using LDAP as a backend.
31RFC 2307 or similar LDAP schemas can be tied to the different YP maps.
32.Nm
33has the same role as
34.Xr ypserv 8
35and the two daemons are exclusive.
36.Pp
37The options are as follows:
38.Bl -tag -width Ds
39.It Fl D Ar macro Ns = Ns Ar value
40Define
41.Ar macro
42to be set to
43.Ar value
44on the command line.
45Overrides the definition of
46.Ar macro
47in the configuration file.
48.It Fl d
49Do not daemonize.
50If this option is specified,
51.Nm
52will run in the foreground and log to
53.Em stderr .
54.It Fl f Ar file
55Specify an alternative configuration file.
56.It Fl n
57Configtest mode.
58Only check the configuration file for validity.
59.It Fl v
60Produce more verbose output.
61.El
62.Sh FILES
63.Bl -tag -width "/etc/ypldap.confXX" -compact
64.It Pa /etc/ypldap.conf
65Default
66.Nm
67configuration file.
68.El
69.Sh SEE ALSO
70.Xr ypldap.conf 5 ,
71.Xr ypbind 8
72.Sh HISTORY
73The
74.Nm
75program first appeared in
76.Ox 4.4
77and then
78.Fx 11.0 .
79.Sh AUTHORS
80The
81.Nm
82program was written by
83.An Pierre-Yves Ritschard .
84