Okay, here is the problem. I have gone through and setup a nis server. I am able to do a ypcat hosts and all this works just fine.
The problem I am having is the when I try to connect from a client system by logging in or doing a 'su - test' ( test is my test account), I get logged in but it fails to change the directory i.e 'su: warning: cannot change directory to /home/test: No such file or directory' error and then it logs in test and puts me in the directory that I was in.
I have setup a home directory for the users in /export. Each has there own directory i.e. /export/test
I have setup the exports file like this:
Code:
# allow users on Home to read/write data on this machine
/home slick.edt.com(rw,sync)
# /export slick.edt.com(rw,sync)
#
# allow users on any machine to read/write /home dirctory on this machine
/home *.edt.com(rw,sync)
The system shows my directories as being exports for nfs. The auto.master has :
Code:
/home /etc/auto.home
defined and the auto.home has :
Code:
# Home directory map for automounter
#
test -rw,sync slick:/export/&
jlowry -rw,sync slick:/export/&
jerryl -rw,sync slick:/export/&
* -rw,sync slick:/export/&
I would like this to map the export directory structure to show them as /home/test ..... for each user.
Am I incorrect in think this will map this way. Autofs starts and builds a home directory but it does not have any directories in it.
Also, when my client workstations reboot the authentication for nis changes from
domain 'name' server 'host'
to
domain 'name' broadcast
When this happens the ypbind never finds the ypserver. How can I either get this to stop changing the configuration or get ypbind to find the server using broadcast. ( at this point there are only three systems on the network. one server two clients and they can all ping each other based on the definition in the host file ) 'confusion abounds on this'
thanks