LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-24-2009, 01:29 PM   #1
Savita Eli
LQ Newbie
 
Registered: Jul 2009
Location: St.Louis,MO
Posts: 13

Rep: Reputation: 0
Smile auto.home, autofs + NIS problem


Hi,

I am facing 2 problems with this.
My machine configurations:
---------------------------------
NIS server: 172.168.1.132
NFS Shares: /rhome/station100/

NIS Client: 172.168.1.129
Needs to mount nis user dir under /rhome/nis which on server, is under /rhome/station100/nis


My auto.master entries:
/rhome/ /etc/auto.home -rw

My auto.home entries:
station100 172.168.1.132:/rhome/&
* 172.168.1.132:/rhome/station100/&

Details:
-----------

Problem 1> Even though,nis1's home dir gets mounted under /rhome/nis1,
I get the error upon login: "Could not able to change to /rhome/statoion100/nis1 No such file or directory" on client(172.168.1.129) and nis user is placed in '/' of client.

[root@aca80181 ~]# ssh -l nis1 172.168.1.129
nis1@172.168.1.129's password:
Last login: Thu Jul 23 11:42:09 2009 from aca80181.ipt.aol.com
Could not chdir to home directory /rhome/station100/nis1: No such file or directory
-bash-3.2$ pwd
/

Problem 2> Though only one user nis1 tried to login, all the users are getting their home dirs in /rhome/.I want the home dir of only the user who logs in to be mounted.

[root@aca80181 ~]# ls /rhome/
nis1 nis2 nis3

Plz tell me how to resolve this.This seems very challenging.
 
Old 07-24-2009, 01:58 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Do post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place.
Please do not crosspost your threads again.
Read and understand the LQ rules (rule #7) before continuing.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
auto.home, autofs + NIS problem Savita Eli Linux - Newbie 2 11-12-2010 09:40 AM
Need help:Configuring autofs to automount the home directories of NIS users. Savita Eli Linux - Server 4 08-26-2009 11:26 PM
strange! can't use auto.nis as the file name for autofs service myhnet Linux - General 2 07-14-2008 11:29 PM
NIS, NFS, autofs and /home folder question ramram29 Linux - Networking 2 08-25-2006 08:26 PM
NIS and autofs with /home Rekna Linux - Networking 1 06-20-2004 11:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration