Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Debian-NIS No Directory! logging with HOME=/

Posted on 2003-11-15
8
Medium Priority
?
855 Views
Last Modified: 2007-12-19
Hi all,

I have a NIS server on debian 2.4.19. There are lots of users getting proper access to NIS. I have created new users, when those try to login they are able to log in but getting message
No Directory! logging with HOME=/

Users home directories are on Solaris server. I have made correct entry of users home directories in/etc/dfs/dfstab as the previous one and shared those directories . Ownershiop of the directories are also correct. (belongs to the users )

On nis master and all the hosts updated the /etc/auto.home with new users.

I am get stuck at this point, can anybody help me?

 

 
0
Comment
Question by:amit_atharkar
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 3

Expert Comment

by:_tack
ID: 9753503

Try mounting a home directory on a machine that gives you the problem, if you get permission denied, then the problem is on the
nfs server (directories are not exported, or not exported correctly -- (exportfs -v) shows exported dirs).

If you can mount the dir, then the problem is automounter. -- try reloading it (kill -HUP ...)
0
 
LVL 40

Expert Comment

by:jlevie
ID: 9754386
What is the user's home dir in the output of ypcat? Does that match what's defined in a ypcat of auto.home?
0
 
LVL 1

Author Comment

by:amit_atharkar
ID: 9764009
Thanks Tack & Jlevie
I can manually mount the directories with mount. but the automounter is not able to mount it.
users home dir permissions are

drwxr-xr-x   6 rmane    users        512 Nov 14 10:22  rmane

Jlevie,
The output of ypcat passwd  gives the hor dir as /home/rmane
mt auto.master is
/home           /etc/auto.home
and /etc/auto.home is
rmane          10..4.0.74:/export/home3/rmane

I want to ask you a simple question, if i restarted autofs service, does it affects the already logged in users.


What is going wrong i still could not understand




 
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 3

Expert Comment

by:_tack
ID: 9764056

> and /etc/auto.home is
> rmane          10..4.0.74:/export/home3/rmane

10..4.0.74  --- could be the problem ?

Usually autofs reloads config as it changes.

Before restarting autofs, make sure that your config is 100% correct;

No, logged in users are not affected by autofs restart.
0
 
LVL 40

Expert Comment

by:jlevie
ID: 9764871
Did you do your 'ypcat auto.home' & 'ypcat passwd' on both the server and the client? Do you see the same thing on both the server and the client?
0
 
LVL 1

Author Comment

by:amit_atharkar
ID: 9844783
Sorry friends a little typo mistake ... i forgot one collon from the user entry in passwd file. So silly and i tried all the way to make it possible...
I didnot look at passwd file carefully becoz usually i don't make such mistakes.
But that time was horrible for me...

Thanks for yor posts.

Amit
0
 
LVL 1

Accepted Solution

by:
DarthMod earned 0 total points
ID: 14141096
Submitted to PAQ with points refunded (200)

DarthMod
Community Support Moderator
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question