YP transferring of maps...

YP transferring of maps...

Post by Justi » Thu, 09 Jan 2003 08:16:02



I am in the process of setting up a Solaris 8 NIS server with about two
dozen Linux 7.x -8 clients. After setting up the clients with ypbind and
ypwhich (I can see the NIS server after doing this) What commands do I need
to transfer the maps from the Solaris box to the Linux box, and where are
these maps stored?

Justin

 
 
 

YP transferring of maps...

Post by Martin Coope » Thu, 09 Jan 2003 09:00:53



Quote:> I am in the process of setting up a Solaris 8 NIS server with about
two
> dozen Linux 7.x -8 clients. After setting up the clients with ypbind
and
> ypwhich (I can see the NIS server after doing this) What commands do
I need
> to transfer the maps from the Solaris box to the Linux box, and
where are
> these maps stored?

> Justin

Hi Justin,
    its a while since I've used NIS, but
http://en.tldp.org/HOWTO/NIS-HOWTO/ may be usefull.

    Martin

 
 
 

YP transferring of maps...

Post by mps » Thu, 09 Jan 2003 11:08:39



> I am in the process of setting up a Solaris 8 NIS server with
> about two dozen Linux 7.x -8 clients. After setting up the
> clients with ypbind and ypwhich (I can see the NIS server after
> doing this) What commands do I need to transfer the maps from
> the Solaris box to the Linux box, and where are these maps
> stored?

> Justin

The idea behind NIS is to not have to store the maps on the
clients.  The maps are accessed via rpc calls to the server as
needed.  You will have to set up your nsswitch.conf file on each
host to use nis over files (or dns).  Once this file is in
order, if you have an entry like so:

services:       nis files

and "ypcat services" returns a generic /etc/services file, then
when a network protocol is looking to map a service, it will
refer to your nis map instead of the /etc/services on the local
machine.

 
 
 

1. YP maps still held by old yp master

Hi,

I wanted to switch yp masters from machine x to machine y.  So I followed
the procedure outlined on page 64-65 of the O'Reilly NFS and NIS book.
Everything is find except that when I do a ypwhich -m two maps are still
"owned" by the old master and nothing I can do seems to dislodge them.
They are aliases and ypsevers.  What can I do?  Thanks!

--
          <'D  /    C /  
           ()-^ --+-\\     L'epigramme est un jeu d'escrime.
           / >      | \                              Antoine Louis Le Brun

2. XFree3.2A setup problem

3. autofs : yp map & file map

4. Integrated development tools for C

5. amd with yp-maps

6. Autoscan, Autoconf, and Automake - HOWTO?

7. netid map and NIS(YP) - which platforms supported?

8. about ATI Pro turbo

9. Error in YP map database

10. YP map is defective

11. transfering map update to yp slaves

12. YP maps offered by a YPSERVer

13. yp map database is bad