Solved

Debian-NIS No Directory! logging with HOME=/

Posted on 2003-11-15
8
816 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
8 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
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now