NFS mount error: RPCPROG_MNT: RPC: Authentication error; why =
Client credential too weak
Walter Hurry
walterhurry at gmail.com
Fri Jul 6 16:03:47 UTC 2012
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.
More information about the freebsd-questions
mailing list