xref: /freebsd/usr.sbin/ypldap/ypldap.8 (revision b2c76c41be32f904179efed29c0ca04d53f3996c)
19e7c127fSCraig Rodrigues.\"	$OpenBSD: ypldap.8,v 1.10 2015/07/27 17:28:40 sobrado Exp $
29e7c127fSCraig Rodrigues.\"
39e7c127fSCraig Rodrigues.\" Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
49e7c127fSCraig Rodrigues.\"
59e7c127fSCraig Rodrigues.\" Permission to use, copy, modify, and distribute this software for any
69e7c127fSCraig Rodrigues.\" purpose with or without fee is hereby granted, provided that the above
79e7c127fSCraig Rodrigues.\" copyright notice and this permission notice appear in all copies.
89e7c127fSCraig Rodrigues.\"
99e7c127fSCraig Rodrigues.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
109e7c127fSCraig Rodrigues.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
119e7c127fSCraig Rodrigues.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
129e7c127fSCraig Rodrigues.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
139e7c127fSCraig Rodrigues.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
149e7c127fSCraig Rodrigues.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
159e7c127fSCraig Rodrigues.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
169e7c127fSCraig Rodrigues.\"
17*1830617eSMarcelo Araujo.Dd $Mdocdate: June 8 2016 $
189e7c127fSCraig Rodrigues.Dt YPLDAP 8
199e7c127fSCraig Rodrigues.Os
209e7c127fSCraig Rodrigues.Sh NAME
219e7c127fSCraig Rodrigues.Nm ypldap
229e7c127fSCraig Rodrigues.Nd YP map server using LDAP backend
239e7c127fSCraig Rodrigues.Sh SYNOPSIS
249e7c127fSCraig Rodrigues.Nm
259e7c127fSCraig Rodrigues.Op Fl dnv
269e7c127fSCraig Rodrigues.Op Fl D Ar macro Ns = Ns Ar value
279e7c127fSCraig Rodrigues.Op Fl f Ar file
289e7c127fSCraig Rodrigues.Sh DESCRIPTION
299e7c127fSCraig Rodrigues.Nm
309e7c127fSCraig Rodriguesis a daemon providing YP maps using LDAP as a backend.
319e7c127fSCraig RodriguesRFC 2307 or similar LDAP schemas can be tied to the different YP maps.
329e7c127fSCraig Rodrigues.Nm
339e7c127fSCraig Rodrigueshas the same role as
349e7c127fSCraig Rodrigues.Xr ypserv 8
359e7c127fSCraig Rodriguesand the two daemons are exclusive.
369e7c127fSCraig Rodrigues.Pp
379e7c127fSCraig RodriguesThe options are as follows:
389e7c127fSCraig Rodrigues.Bl -tag -width Ds
399e7c127fSCraig Rodrigues.It Fl D Ar macro Ns = Ns Ar value
409e7c127fSCraig RodriguesDefine
419e7c127fSCraig Rodrigues.Ar macro
429e7c127fSCraig Rodriguesto be set to
439e7c127fSCraig Rodrigues.Ar value
449e7c127fSCraig Rodrigueson the command line.
459e7c127fSCraig RodriguesOverrides the definition of
469e7c127fSCraig Rodrigues.Ar macro
479e7c127fSCraig Rodriguesin the configuration file.
489e7c127fSCraig Rodrigues.It Fl d
499e7c127fSCraig RodriguesDo not daemonize.
509e7c127fSCraig RodriguesIf this option is specified,
519e7c127fSCraig Rodrigues.Nm
529e7c127fSCraig Rodrigueswill run in the foreground and log to
539e7c127fSCraig Rodrigues.Em stderr .
549e7c127fSCraig Rodrigues.It Fl f Ar file
559e7c127fSCraig RodriguesSpecify an alternative configuration file.
569e7c127fSCraig Rodrigues.It Fl n
579e7c127fSCraig RodriguesConfigtest mode.
589e7c127fSCraig RodriguesOnly check the configuration file for validity.
599e7c127fSCraig Rodrigues.It Fl v
609e7c127fSCraig RodriguesProduce more verbose output.
619e7c127fSCraig Rodrigues.El
629e7c127fSCraig Rodrigues.Sh FILES
639e7c127fSCraig Rodrigues.Bl -tag -width "/etc/ypldap.confXX" -compact
649e7c127fSCraig Rodrigues.It Pa /etc/ypldap.conf
659e7c127fSCraig RodriguesDefault
669e7c127fSCraig Rodrigues.Nm
679e7c127fSCraig Rodriguesconfiguration file.
689e7c127fSCraig Rodrigues.El
699e7c127fSCraig Rodrigues.Sh SEE ALSO
709e7c127fSCraig Rodrigues.Xr ypldap.conf 5 ,
719e7c127fSCraig Rodrigues.Xr ypbind 8
729e7c127fSCraig Rodrigues.Sh HISTORY
739e7c127fSCraig RodriguesThe
749e7c127fSCraig Rodrigues.Nm
759e7c127fSCraig Rodriguesprogram first appeared in
763db8326dSMarcelo Araujo.Ox 4.4
773db8326dSMarcelo Araujoand then
783db8326dSMarcelo Araujo.Fx 11.0 .
799e7c127fSCraig Rodrigues.Sh AUTHORS
809e7c127fSCraig RodriguesThe
819e7c127fSCraig Rodrigues.Nm
829e7c127fSCraig Rodriguesprogram was written by
839e7c127fSCraig Rodrigues.An Pierre-Yves Ritschard .
84