Debian-NIS No Directory! logging with HOME=/

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?

 

 
LVL 1
amit_atharkarAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

_tackCommented:

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
jlevieCommented:
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
amit_atharkarAuthor Commented:
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
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

_tackCommented:

> 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
jlevieCommented:
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
amit_atharkarAuthor Commented:
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
DarthModCommented:
Submitted to PAQ with points refunded (200)

DarthMod
Community Support Moderator
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.

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.