LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-10-2011, 06:44 AM   #1
paver5
LQ Newbie
 
Registered: Apr 2011
Posts: 5

Rep: Reputation: 0
Can't access nfs mount from win7


Hi, guys.

I hope somebody can help me with this thingie, because I can't look at Google with different variations of "nfs" in search results anymore

-
I am running suse 11.3 distro on my virtual machine , and it has nfsd (and idmapd) installed.
I try to mount nfs directory from my Win7 host, and it works.
But when I try accessing it - I get "access denied".

It seems, that idmapd should be configured somehow to authorize requests from Windows, but it doesn't. Any hints on this one?

Here's a bit of configs:
--
> more /etc/idmapd.conf

[General]

Verbosity=0
Pipefs-Directory=/var/lib/nfs/rpc_pipefs
Domain=localNfs

[Mapping]

Nobody-User=myuser
Nobody-Group=myuser
---

> more /etc/exports
/home/myuser/ 192.168.2.0/24(rw,async,insecure)
 
Old 04-10-2011, 01:42 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Did you install Services for Unix or how are you accessing nfs in windows?
 
Old 04-10-2011, 02:28 PM   #3
paver5
LQ Newbie
 
Registered: Apr 2011
Posts: 5

Original Poster
Rep: Reputation: 0
jefro:
I have Services for NFS (Administrative Tools+Client for NFS) installed , and Subsystem for UNIX_based Applications
Then I type:
C:\mount mysuse:/home/myuser z:
And have this nfs mapped to Z:

Last edited by paver5; 04-10-2011 at 02:36 PM.
 
Old 04-10-2011, 05:16 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
See this for the nobody deal.

http://www.howtoforge.com/setting-up...-opensuse-11.3

Did you run exportfs -a

Last edited by jefro; 04-10-2011 at 05:18 PM.
 
Old 04-11-2011, 01:19 AM   #5
paver5
LQ Newbie
 
Registered: Apr 2011
Posts: 5

Original Poster
Rep: Reputation: 0
Hm, the article helped.
I've defined the exports correctly before, since windows's "c:>showmount -e mysuse" ,showed me the mount list.
But when I set the suse's directory world readable/writable , there was no access denied anymore.
Seems like the problem was stupid "chmod 777 ."

Thank you.
 
  


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
[SOLVED] After Upgrading from Win7-32 to WIN7-64 can't mount cifs shares pobrika Linux - Networking 2 07-21-2010 08:15 PM
NFS mount mount.nfs: access denied by server while mounting knockout_artist Linux - Newbie 2 11-26-2008 02:36 PM
nfs mount ok but cannot access some files michael.barnes Linux - Networking 2 01-25-2007 04:38 PM
can't access ntfs mount through nfs mount bezoomny Linux - Networking 9 04-14-2004 10:25 AM
NFS mount without root access rajatgarg Linux - Networking 2 01-23-2004 12:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:47 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