Originally Posted by
albinootje
Was it working before ?
Did you follow the documentation from /usr/share/doc/nis/ or something else ?
No, I wasn't able to get it to work at all. I was following the directions on a webpage, but since there are no longer any directories in /home, I can't cite the url.
So I tried reconfiguring with a different set of instructions: (http://ubuntuforums.org/showthread.php?t=348015) to , but that didn't work either.
Why would all the home directories be missing anyway? Just because it wasn't able to bind should be any reason they are missing. Does this have more to do with automounting nfs?
The config files for both server and client are below. I am pretty sure /etc/hosts is config'ed correctly since I can ping and ssh with just the hostnames. Running sudo /etc/init.d/nis restart from the server also fails.
Server config files:
This is /etc/yp.conf. I am not sure it is configured correctly.
Code:
#
# yp.conf Configuration file for the ypbind process. You can define
# ypserver ypserver.network.com
domain mydomain.com server myservername
Code:
#
# securenets This file defines the access rights to your NIS server
# Always allow access for localhost
255.0.0.0 127.0.0.0
255.255.255.0 IP of myclient
255.255.255.0 IP of myserver
Code:
#
# /etc/defaults/nis Configuration settings for the NIS daemons.
#
# Are we a NIS server and if so what kind (values: false, slave, master)?
NISSERVER=master
# Are we a NIS client?
NISCLIENT=false
Client config files:
Code:
#
# yp.conf Configuration file for the ypbind process. You can define
# ypserver ypserver.network.com
IP of myclient myclient.mydomain.com
Code:
#
# /etc/defaults/nis Configuration settings for the NIS daemons.
#
# Are we a NIS server and if so what kind (values: false, slave, master)?
NISSERVER=false
# Are we a NIS client?
NISCLIENT=true
Bookmarks