LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Authentication failure while accessing NFS share (http://www.linuxquestions.org/questions/linux-networking-3/authentication-failure-while-accessing-nfs-share-472132/)

chnadrapaul 08-08-2006 07:50 PM

Authentication failure while accessing NFS share
 
I am trying to browse an NFS share on our linux server (Redhat Enterprise Version 3). I am using SuperNFS client to connect. I get this error even if the share is visible within the Windows explorer on my PC. Linux /etc/exports file looks like this:

/usr/local/psql 172.16.20.144(rw,async,no_root_squash)

"An error has occurred during the mount operation. It appears that the user name and password you have supplied are not being accepted by the remote host.."

Did anyone come across this problem? How can I get the Linux NFS server to accept remote access from an NFS client?
Regards,

onebuck 08-09-2006 04:28 PM

Quote:

Originally Posted by chnadrapaul
I am trying to browse an NFS share on our linux server (Redhat Enterprise Version 3). I am using SuperNFS client to connect. I get this error even if the share is visible within the Windows explorer on my PC. Linux /etc/exports file looks like this:

/usr/local/psql 172.16.20.144(rw,async,no_root_squash)

"An error has occurred during the mount operation. It appears that the user name and password you have supplied are not being accepted by the remote host.."

Did anyone come across this problem? How can I get the Linux NFS server to accept remote access from an NFS client?
Regards,

Hi,

The answer is in the error message you received!

A simple search on LQ or google will also get you results.

Short answer 'You don't have an account on the machine' or you are giving the server the wrong user and password.

chnadrapaul 08-09-2006 07:24 PM

I do have an account on the machine and I gave the server the correct user name and password. In fact I can login to the terminal using this user name and password. It seems to be just an NFS authenticaiton problem. Does the user environment need to be setup in any particular manner to enable NFS access?

When I logged in as root, Access was denied. I can understand Linux does not let root to remotely login to the server.

maguesse 08-14-2006 06:03 AM

Hi,
while I'm trying to share NFS directories between my linux box (Slackware 10.2) and my MacBook laptop (Mac OS X 10.4), I read some topics and documentation that could help you.

But while it's my first post here, I cannot attach any URL :(

But you can search for the NFS-HOWTO on google.
On LQ, you can watch the topic named "NFS: Ubuntu (server) and Mac OS X (clients)"

It seems that the UID of the client user must be the same as the UID of the owner of the exported directory.

Rgds,
Mathieu


All times are GMT -5. The time now is 11:36 PM.