Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2005 15:05:30 -0700
From:      Benjamin Keating <motionsiren@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   NFS "Can't enumerate maps"
Message-ID:  <781e2bc0050510150511a94055@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Howdy Gang,

Im trying to setup a NIS slave in a already NIS powered network based
on the handbook rules
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nis.html.

My masters relevant rc.conf
########
nis_client_enable=3D"YES"
nisdomainname=3D"LONGNOW"
nis_server_enable=3D"YES"
rpc_ypupdated_enable=3D"YES"
rpcbind_enable=3D"YES"
nis_yppasswdd_enable=3D"YES"
nis_yppasswdd_flags=3D"-t /etc/master.passwd -i"
########

My slaves relevant rc.conf
########
nis_client_enable=3D"YES"
nisdomainname=3D"LONGNOW"
nis_server_enable=3D"YES"
rpc_ypupdated_enable=3D"YES"
rpcbind_enable=3D"YES"
########

both the master and slave have /etc/hosts entries:
192.168.1.3             tic
192.168.1.11           bis
and have verified at the CLI that each can be pinged from the other machine=
.

#NOPUSH=3D"True"=20
is commented out on the masters Makefile.

Following the guide, on the slave I do:
########
$ sudo ypinit -s tic LONGNOW
########

and get:

########
Can't enumerate maps from tic. Please check that it is running.
Note: using hardcoded maplist for map transfers.

Server Type: SLAVE Domain: LONGNOW Master: tic

Creating an YP server will require that you answer a few questions.
Questions will all be asked at the beginning of the procedure.

Do you want this procedure to quit on non-fatal errors? [y/n: n]
########

sockstat's (relevant services only):
########
MASTER:
rpc.yppass rpc.ypupdate, ypbind, ypserv, rpcbind
SLAVE:
ypbind, rpc.ypupdate. rpcbind


Why can't it enumerate maps from tic? Im lost and all google brings up
is Linux related info complaining about ypinit having a bad rep in
Linux.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?781e2bc0050510150511a94055>