From owner-freebsd-questions@FreeBSD.ORG Fri Jul 6 18:33:12 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 8454D106566B for ; Fri, 6 Jul 2012 18:33:12 +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 13DD38FC16 for ; Fri, 6 Jul 2012 18:33:11 +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 20:33:10 +0200 Message-ID: <4FF72F66.1060902@ose.nl> Date: Fri, 06 Jul 2012 20:33:10 +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: <4FF7187F.3030201@ose.nl> 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 18:33:12 -0000 On 07/06/2012 07:25 PM, Walter Hurry wrote: > On Fri, 06 Jul 2012 18:55:27 +0200, Bas Smeelen wrote: > >> 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 > Thanks for the reply. Yes, I'm running as root on the client when I try > the mount. > > It was the handbook I was following in my attempt to set up NFS. > > OK. With -n (allow from non root users) for mountd the mount succeeds although without it doesn't but you are root on the client. The nfs server is use is still 7.4 and I cannot find a difference in the man pages of 7 and 9 mountd and mount_nfs regarding to this issue. In regard to the security implications, I think that we don't want mounts from trusted clients by a non root user who cannot bind to privileged ports, thus deny unprivileged ports. Disclaimer: http://www.ose.nl/email