13.07.2015 Views

Naming and Directory Services (DNS, NIS, and LDAP)

Naming and Directory Services (DNS, NIS, and LDAP)

Naming and Directory Services (DNS, NIS, and LDAP)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

TABLE 4–4 <strong>NIS</strong> Comm<strong>and</strong> SummaryComm<strong>and</strong>ypservypbindypinitmakemakedbmypxfrypxfrdyppushypsetyppollypcatypmatchDescription<strong>Services</strong> <strong>NIS</strong> clients’ requests for information from an <strong>NIS</strong> map. ypservis a daemon that runs on <strong>NIS</strong> servers with a complete set of maps. Atleast one ypserv daemon must be present on the network for <strong>NIS</strong>service to function.Provides <strong>NIS</strong> server binding information to clients. It provides bindingby finding a ypserv process that serves maps within the domain of therequesting client. ypbind must run on all servers <strong>and</strong> clients.Automatically creates maps for an <strong>NIS</strong> server from the input files. It isalso used to construct the initial/var/yp/binding/domain/ypservers file on the clients. Useypinit to set up the master <strong>NIS</strong> server <strong>and</strong> the slave <strong>NIS</strong> servers for thefirst time.Updates <strong>NIS</strong> maps by reading the Makefile (when run in the /var/ypdirectory). You can use make to update all maps based on the input filesor to update individual maps. The ypmake(1M) man page describes thefunctionality of make for <strong>NIS</strong>.makedbm takes an input file <strong>and</strong> converts it into dbm.dir <strong>and</strong> dbm.pagfiles—valid dbm files that <strong>NIS</strong> can use as maps. You can also usemakedbm -u to disassemble a map, so that you can see the key-valuepairs that comprise it.Pulls an <strong>NIS</strong> map from a remote server to the local /var/yp/domaindirectory, using <strong>NIS</strong> itself as the transport medium. You can run ypxfrinteractively, or periodically from a crontab file. It is also called byypserv to initiate a transfer.Provides map transfers service for ypxfr requests (generally slaveservers). It is run only on the master server.Copies a new version of an <strong>NIS</strong> map from the <strong>NIS</strong> master server to itsslaves. You run it on the master <strong>NIS</strong> server.Tells a ypbind process to bind to a named <strong>NIS</strong> server. This is not forcasual use <strong>and</strong> its use is discouraged because of security implications.See the ypset(1M) <strong>and</strong> ypbind(1M) man pages for information aboutthe ypset <strong>and</strong> ypsetme options to the ypbind process.Tells which version of an <strong>NIS</strong> map is running on a server that youspecify. It also lists the master server for the map.Displays the contents of an <strong>NIS</strong> map.Prints the value for one or more specified keys in an <strong>NIS</strong> map. Youcannot specify which version of the <strong>NIS</strong> server map you are seeing.76 System Administration Guide: <strong>Naming</strong> <strong>and</strong> <strong>Directory</strong> <strong>Services</strong> (<strong>DNS</strong>, <strong>NIS</strong>, <strong>and</strong> <strong>LDAP</strong>) • January 2005

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!