Date: Fri, 06 Jul 2012 18:55:27 +0200 From: Bas Smeelen <b.smeelen@ose.nl> To: freebsd-questions@freebsd.org Subject: Re: NFS mount error: RPCPROG_MNT: RPC: Authentication error; why = Client credential too weak Message-ID: <4FF7187F.3030201@ose.nl> In-Reply-To: <jt728f$6bc$1@dough.gmane.org> References: <jt728f$6bc$1@dough.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 07/06/2012 06:03 PM, Walter Hurry wrote: > 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 > # Hi Walter Are you root when mounting on the client? From looking at your prompt # I think you are, but I ask just to make sure. You can also take a look at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nfs.html in the handbook > > 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. > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Disclaimer: http://www.ose.nl/email
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FF7187F.3030201>