Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NFS Authentication
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
npalmer76
n00b
n00b


Joined: 27 Feb 2003
Posts: 26

PostPosted: Tue Jul 12, 2005 10:41 am    Post subject: NFS Authentication Reply with quote

Hey All,

I am trying to NFS mount some directories on my Gentoo Linux box on my new Powerbook.

I have installed nfs-utils and setup /exports to be as follows:
Code:

# /etc/exports: NFS file systems being exported.  See exports(5).
/media *(rw,sync,root_squash,insecure)


I have also altered the UID and GID for my user on the Powerbook so that they match the UID and GID on the linux box. When I try to connect from the powerbook it tells me that it was unable to authenticate. In /var/log/messages I see the following:
Code:

Jul 12 03:37:30 mithrandir rpc.mountd: authenticated mount request from 192.168.1.242:970 for /media (/media)
Jul 12 03:37:30 mithrandir svc: unknown version (3)


My guess is that the first mount request is understood but denied and then the Mac retries with NFS version 3 which isn't supported, but that's just a guess.

The password on the two systems is the same, though NFS doesn't seem to authenticate via PAM. Is there a way to PAMify or Kerberize NFS? (I use Kerberos for authentication via pam_krb5, but there is a password in /etc/shadow for the user I am trying to connect as that matches.)

Is there a way to get more authentication information logged in NFS on gentoo? This is the first time I am running NFS and google hasn't been very helpful yet. I'll keep searching though.

Thanks,
-Nick
_________________
My other sig is an Air Cooled Volkswagen.
Back to top
View user's profile Send private message
kill
Apprentice
Apprentice


Joined: 25 Dec 2004
Posts: 179

PostPosted: Tue Jul 12, 2005 7:08 pm    Post subject: Reply with quote

See if this wiki entry helps any.
Back to top
View user's profile Send private message
npalmer76
n00b
n00b


Joined: 27 Feb 2003
Posts: 26

PostPosted: Wed Jul 13, 2005 7:54 pm    Post subject: Problem Solved! Reply with quote

Well, the wicki entry helped in that it sent me back into my kernel options. I noticed in there that there is a switch to turn on NFS v3 support. I turned that on and reinstalled and everything worked perfectly. It turns out the "svc: unknown version (3)" was telling me what I needed to do to fix the problem.

Thanks,
-Nick
_________________
My other sig is an Air Cooled Volkswagen.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum