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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Broadcast ModeThe broadcast mode binding process works as follows:1. ypbind must be started with the broadcast option set (broadcast).2. ypbind issues an RPC broadcast in search of an <strong>NIS</strong> server.Note – In order to support such clients, it is necessary to have an <strong>NIS</strong> server on eachsubnet requiring <strong>NIS</strong> service.3. ypbind initiates binding to the first server that responds to the broadcast.4. ypbind tells the client process which server to talk to. The client then sends therequest directly to the server.5. The ypserv daemon on the <strong>NIS</strong> server h<strong>and</strong>les the request by consulting theappropriate map.6. ypserv sends the requested information back to the client.Normally, once a client is bound to a server it stays bound to that server untilsomething causes it to change. For example, if a server goes out of service, the clientsit served will then bind to new servers.To find out which <strong>NIS</strong> server is currently providing service to a specific client, use thefollowing comm<strong>and</strong>.%ypwhich machinenameWhere machinename is the name of the client. If no machine name is mentioned,ypwhich defaults to the local machine (that is, the machine on which the comm<strong>and</strong> isrun).78 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!