I have set up an NIS server and one slave behind a LinkSys firewall with a network address of 192.168.1.0. The network is functioning properly. My aim is to have the users on the slave access the printer and other resources through the server. Because their user and group IDs are different on each machine, I am trying to set up NIS.
I have used the
Slackware-NIS-mini-HOWTO and followed the instructions to the letter -- and have gone through it over and over again. I have also read two other resources on NIS.
PROBLEM
On the slave,
'ypcat passwd.byname' yields:
No such map passwd.byname. Reason: Can't bind to server which serves this domain.
TESTS
1) I can ping the server from the the slave, and vice versa.
2) On the server, '
rcpinfo -u rpcinfo -u serverhost ypserv yields the response
program 100004 version 2 ready and waiting
3) On the slave,
rpcinfo -u slavehost ypbind yields the response
program 100007 version 2 ready and waiting
4)
/usr/lib/yp/ypinit -m cause the
/var/yp/Makefile to initialize without errors from what I can see. The only output I wonder about is that the password output which is:
Updating shadow.byname... Ignored -> merged with passwd.
I have been assuming that this output is not out of line
5) When using nfs by itself I can mount one machine from another and read and write as root, but not as user, hence my attempts to configure NIS.
THE EXPORT
Here is my /etc/exports:
#
/export (rw,no_root_squash)
#
--------------
My home directories are on a separate partition on both server and slave. On each machine the home directories mount on
/export/home at boot time so that everything should appear seamless when it is set up. This arrangement is suggested in the HOWTO as are the contents of the following files:
Here is
/etc/auto.master
#
/export auto.export --timeout 60
#
End of auto.master
Here is
/etc/auto.export
#
home -fstype=nfs silenus:/export/home
#
End of auto.export
Because of the positive tests above, I must very close to a solution. Can someone point out what I might be missing?