From owner-freebsd-questions@FreeBSD.ORG Fri Jul 6 16:55:37 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73C0D106566C for ; Fri, 6 Jul 2012 16:55:37 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id C56828FC22 for ; Fri, 6 Jul 2012 16:55:36 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)) for freebsd-questions@freebsd.org; Fri, 6 Jul 2012 18:55:28 +0200 Message-ID: <4FF7187F.3030201@ose.nl> Date: Fri, 06 Jul 2012 18:55:27 +0200 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: NFS mount error: RPCPROG_MNT: RPC: Authentication error; why = Client credential too weak X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jul 2012 16:55:37 -0000 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