Search all pages
Professions, Sciences, Humanities, Business, ...
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...
Conversions, tests, processing, manipulation,...
Integer, Floating point, Matrix, Statistics, Boolean, ...
Algorithms, Memory, Process control, Debugging, ...
Data storage, Integrity, Encryption, Compression, ...
Networks, protocols, Interprocess, Remote, Client Server, ...
Timing, Calendar and Clock, Audio, Video, Printer, Controls...
Management, Filtering, File & Directory access, Viewers, ...
RocketLink!--> Man page versions:
YPBIND(8) OpenBSD System Manager's Manual YPBIND(8)
ypbind - create and maintain a binding to a YP server
ypbind [-ypset] [-ypsetme] [-insecure]
ypbind finds the server for a particular YP domain and stores information
about it in a binding file. This binding information includes the IP ad-
dress of the server associated with that particular domain and which port
the server is using. This information is stored in the directory
/var/yp/binding in a file named with the convention DOMAINNAME.version.
(The YP system only supplies information on version 2.)
When ypbind starts the primary domain (or gets the first request for a
new domain), it checks if a file for the domain in question exists in the
directory /etc/yp/ (ie. /etc/yp/DOMAINNAME). If such a file exists, it
will list the hosts which ypbind should restrict it's server search to.
Otherwise, ypbind assumes it will need to use broadcasts to find a valid
server. Using either of these techniques, ypbind will search for a serv-
er willing to serve maps for the client's domain. Once a binding is es-
tablished, ypbind maintains this binding by periodically communicating
with the server to which it is bound. If the binding is somehow lost,
e.g by server reboot, ypbind marks the domain as unbound and attempts to
re-establish the binding. When the binding is once again successful, yp-
bind marks the domain as bound and resumes its periodic check.
The options are as follows:
-ypset ypset(8) may be used to change the server to which a domain is
-ypsetme ypset(8) may be used only from this machine to change the serv-
er to which a domain is bound.
permit binding to a ypserv(8) on a non-reserved port. This is
needed if receiving maps from SunOS 3.x or Ultrix.
The -ypset and -ypsetme options are dangerous and should be avoided. For
greatest security, the use of a server list in /etc/yp/DOMAINNAME is rec-
ommended. The file should contain a list of valid YP server hostnames,
with one hostname per line. The comment character is #.
If the directory /var/yp/binding exists, YP is started automatically at
boot time by /etc/rc.
/var/yp/binding/DOMAINNAME.version - binding file for domainname
/etc/yp/DOMAINNNAME - server list for this particular domain
domainname(1), ypcat(1), ypmatch(1), yppoll(8), ypset(8),
ypwhich(1), ypserv(8), yp(8)
Once ypbind is running you should look at the following pages to see how
to enable YP support for each of the following maps: passwd(5),
group(5), hosts(5), resolv.conf(5), ethers(3), networks(5)
Theo de Raadt
OpenBSD 2.3 October 25, 1994 1
Source: OpenBSD 2.6 man pages. Copyright: Portions are copyrighted by BERKELEY
SOFTWARE DESIGN, INC., The Regents of the University of California, Massachusetts
Institute of Technology, Free Software Foundation, FreeBSD Inc., and others.
(Corrections, notes, and links courtesy of RocketAware.com)
FreeBSD Sources for ypbind(8)
OpenBSD sources for ypbind(8)
Up to: Host, service name, and address operations - Methods and functions for doing address, host, user, and service name lookups (DNS). also Internet Assigned Numbers
RocketLink!--> Man page versions:
Search | About | Comments | Submit Path: RocketAware > man pages >
RocketAware.com is a service of Mib Software
Copyright 1999, Forrest J. Cavalier III. All Rights Reserved.
We welcome submissions and comments