NAME | SYNOPSIS | DESCRIPTION | OPTIONS | ATTRIBUTES | FILES | SEE ALSO | NOTES
ypbind is a target utility.
ypbind is the process that maintains NIS binding information. At startup, it searches for an NIS server responsible for serving the system's default domain (as set by the domainname(1CC) command), using network broadcasts. Once it receives a reply, it stores the address of the server and other information in a special file located in /var/yp/binding. The NIS routines can then use this file when processing NIS requests. There can be several such files because it is possible for an NIS client to be bound to more than one domain.
After a binding has been established, ypbind sends DOMAIN_NONACK requests to the NIS server at one minute intervals. If it fails to receive a reply to one of these requests, ypbind assumes that the server is no longer running and resumes its network broadcasts until another binding is established.
The programmatic interface to the NIS client process is described in gethostbyname(3STDC), gethostbyaddr(3STDC), getnetbyname(3POSIX) and getnetbyaddr(3POSIX).
Administrative tools are described in domainname(1CC) and ypwhich(1CC). Tools for viewing the contents of NIS maps are described in ypcat(1CC) and ypmatch(1CC).
The ypbind actor is a ChorusOS actor that must be activated by the user in order to use the NIS services. Before launching the ypbind actor, the NIS domain must have been set using the domainname(1CC) command. Otherwise, ypbind returns with an error signaling that domain is not set.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
The ypbind program does not make continuous attempts to keep secondary domains bound. If a server for a secondary domain fails to respond to a ping, ypbind broadcasts for a new server only once before giving up. If a client program attempts to reference the unbound domain, ypbind tries broadcasting again. By contrast, ypbind automatically maintains a binding for the default domain irrespective of client programs referencing it or not.
NAME | SYNOPSIS | DESCRIPTION | OPTIONS | ATTRIBUTES | FILES | SEE ALSO | NOTES