Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jul 2012 16:03:27 +0000 (UTC)
From:      Walter Hurry <walterhurry@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   NFS mount error: RPCPROG_MNT: RPC: Authentication error; why = Client credential too weak
Message-ID:  <jt728f$6bc$1@dough.gmane.org>

next in thread | raw e-mail | index | archive | help
I am running FreeBSD 9.0-RELEASE (64 bit), with a VirtualBox VM also 
running the same.

On the host I am running NFS server:

$ showmount -e
Exports list on localhost:
/usr/home                          Everyone

But when I try to mount is on the client (the VM guest) I get this:

# mount xxxxxx:/usr/home /mnt
[tcp] xxxxxx:/usr/home: RPCPROG_MNT: RPC: Authentication error; why = 
Client credential too weak
#

On the server, in /var/log/messages I see this:

mountd[29140]: mount request from nnn.nnn.nnn.nnn from unprivileged port

So I infer that the 'unprivileged port' bit is the problem.

Further information - on the client:

$ rpcinfo xxxxxx
   program version netid     address                service    owner
    100000    4    tcp       0.0.0.0.0.111          rpcbind    superuser
    100000    3    tcp       0.0.0.0.0.111          rpcbind    superuser
    100000    2    tcp       0.0.0.0.0.111          rpcbind    superuser
    100000    4    udp       0.0.0.0.0.111          rpcbind    superuser
    100000    3    udp       0.0.0.0.0.111          rpcbind    superuser
    100000    2    udp       0.0.0.0.0.111          rpcbind    superuser
    100000    4    tcp6      ::.0.111               rpcbind    superuser
    100000    3    tcp6      ::.0.111               rpcbind    superuser
    100000    4    udp6      ::.0.111               rpcbind    superuser
    100000    3    udp6      ::.0.111               rpcbind    superuser
    100000    4    local     /var/run/rpcbind.sock  rpcbind    superuser
    100000    3    local     /var/run/rpcbind.sock  rpcbind    superuser
    100000    2    local     /var/run/rpcbind.sock  rpcbind    superuser
    100003    2    udp       0.0.0.0.8.1            nfs        superuser
    100003    3    udp       0.0.0.0.8.1            nfs        superuser
    100003    2    udp6      ::.8.1                 nfs        superuser
    100003    3    udp6      ::.8.1                 nfs        superuser
    100003    2    tcp       0.0.0.0.8.1            nfs        superuser
    100003    3    tcp       0.0.0.0.8.1            nfs        superuser
    100003    2    tcp6      ::.8.1                 nfs        superuser
    100003    3    tcp6      ::.8.1                 nfs        superuser
    100005    1    udp6      ::.2.94                mountd     superuser
    100005    3    udp6      ::.2.94                mountd     superuser
    100005    1    tcp6      ::.2.94                mountd     superuser
    100005    3    tcp6      ::.2.94                mountd     superuser
    100005    1    udp       0.0.0.0.2.94           mountd     superuser
    100005    3    udp       0.0.0.0.2.94           mountd     superuser
    100005    1    tcp       0.0.0.0.2.94           mountd     superuser
    100005    3    tcp       0.0.0.0.2.94           mountd     superuser
$ 

What am I doing wrong? I am new to NFS.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?jt728f$6bc$1>