I wanted to know if any one had successfully install nis+ utils and use nis+ client on a linux (redhat) and have a Solaris nis+ server. I am able to install the client software on the linux and am able to see the nis+ tables. The passwd tables' works file but the auto_master and auto_home does not work correctly. I know that linux use /etc/auto.home (note the "." dot) instead of the underscore on Solaris. I have pointed my nsswitch.conf file on linux client to show:
automount: files nisplus
Currently I would have to cat my nis auto_home table and redirect it to /etc/auto.home on the linux. This works but is not the idea of nis+. I have looked and have tried a lot of different things but nothing works. My last hope to it edit the /etc/init.d/autofs. It does not seem to look for nis+. Would I be wrong to change this? Any advice would be great. THANKS
Post what you have in /etc auto master. You probably need to remove the info you put into /etc auto home and return it to the correct information. Did you save what was in auto home before you started "cat my nis auto_home table and redirect it to /etc/auto.home "?
I did not save auto home before I cat nis+ table and redirect, because there was nothing in it. When I started there was no entries in the auto master file nor the auto home file. I basicly started from nothing. THANKS
You have not posted what is in the nis map for auto_home - and your nsswitch.conf is looking at files first for automount. Automount is going to look into /etc/auto.master first where you have /home as /etc/auto.home so nis is never going to be looked at since you have already piped nis into your local /etc/auto.home.
You have to get rid of /etc/auto.home (rename it), point your /etc/auto.master to use the nis map.
I understand that my nsswitch.conf file points to the system /etc/auto.home first then nisplus. To my understanding if the /etc/auto.home file doe not have what I'm trying to mount it will look to the nisplus tables. That is what the nsswitch.conf supposed to do.
I have also tried to just have the nsswitch.conf file point to just nisplus, have auto.master point to nisplus map and remove /etc/auto.home file. But nothing.
Seems like hoghunter was stating that since your /etc/auto.home already contained the information from nis+, automount would never bother to try nis+ since it found the correct entry.
Can you/have you tried to mount via command line any of the home directories? Does the NIS server share the home directories out to any other servers and is it working?