NIS+ error: No directory! Logging in with home=/

I have been seeing this problem on couple of our NIS+ Solaris client machines. The user home directories are on our file server and using automount on the client side, users log in to their home directories from SUN NIS+ clients.The permissions and automount files (auto_master, auto_home) are setup correctly. The same users can log on to other NIS+ clients with identical auto_master & auto_home directories.
I had open a sun service request on this and after going through different trouble shooting procedure they suggested that I do a hard mount to home directories!!! What is then the use of NIS+...


I hope to get a fix to this problem from this site.

thanks
--Ubaid
ubaidAsked:
Who is Participating?
 
bombadilConnect With a Mentor Commented:
I have seen this problem with Solaris 2.4 as the client with both 2.4 and 2.5.1 as the server os. You don't say what level of the os you are working with. If it is 2.4 I would say that sun will not be able to solve the problem. My recommendation would be to upgrade.
0
 
McGyver081797Commented:
Assuming the auto_master and auto_home are OK, make sure the client hosts are included in the /etc/dfs/dfstab entry on the server.  See man share or the above file itself for more information.

You can test that all the sharing and host information is working by doing as Sun suggests and try a hard mount.  If that won't work, there's no way an automount will!

Hope this helps.
0
 
ubaidAuthor Commented:
Hard mount works. /etc/dfs/dfstab have client entries.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.