From owner-freebsd-arm@FreeBSD.ORG Sat Sep 7 10:19:21 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 70DCBB19; Sat, 7 Sep 2013 10:19:21 +0000 (UTC) (envelope-from mailinglists@martinlaabs.de) Received: from relay03.alfahosting-server.de (relay03.alfahosting-server.de [109.237.142.239]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2E2D827D1; Sat, 7 Sep 2013 10:19:20 +0000 (UTC) Received: by relay03.alfahosting-server.de (Postfix, from userid 1001) id 9E28832C144B; Sat, 7 Sep 2013 12:19:13 +0200 (CEST) X-Spam-DCC: : relay01 1356; Body=1 Fuz1=1 Fuz2=1 X-Spam-Level: X-Spam-Status: No, score=0.0 required=7.0 tests=BAYES_50 autolearn=disabled version=3.2.5 Received: from alfa3018.alfahosting-server.de (alfa3018.alfahosting-server.de [109.237.140.30]) by relay03.alfahosting-server.de (Postfix) with ESMTPS id 64F3932C1437; Sat, 7 Sep 2013 12:19:10 +0200 (CEST) Received: from desktop-01.martinlaabs.de (p54B311BD.dip0.t-ipconnect.de [84.179.17.189]) by alfa3018.alfahosting-server.de (Postfix) with ESMTPSA id 23896515DEA1; Sat, 7 Sep 2013 12:19:10 +0200 (CEST) Message-ID: <522AFD9D.9010500@martinlaabs.de> Date: Sat, 07 Sep 2013 12:19:09 +0200 From: Martin Laabs User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130809 Thunderbird/17.0.8 MIME-Version: 1.0 To: "freebsd-net@freebsd.org" Subject: nfsv4 fails with kerberos Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Status: No X-Virus-Checker-Version: clamassassin 1.2.4 with ClamAV 0.97.3/17824/Sat Sep 7 06:37:51 2013 Cc: freebsd-arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Sep 2013 10:19:21 -0000 Hi, I set up a nfsv4 server with kerberos but when starting the nfs server on the arm (RBI-B) board I get the following error message and the first (managing part) of the nfs exits: "nfsd: can't register svc name" This error message is produced by the following code in /usr/src/sys/fs/nfsserver/nfs_nfsdkrpc.c: ==================:<======================= /* An empty string implies AUTH_SYS only. */ if (principal[0] != '\0') { ret2 = rpc_gss_set_svc_name_call(principal, "kerberosv5", GSS_C_INDEFINITE, NFS_PROG, NFS_VER2); ret3 = rpc_gss_set_svc_name_call(principal, "kerberosv5", GSS_C_INDEFINITE, NFS_PROG, NFS_VER3); ret4 = rpc_gss_set_svc_name_call(principal, "kerberosv5", GSS_C_INDEFINITE, NFS_PROG, NFS_VER4); if (!ret2 || !ret3 || !ret4) printf("nfsd: can't register svc name\n"); ==================:<======================= So something went wrong with the principals. Is there a way to get more information or more verbose debugging output from the nfs-server part of the kernel? Thank you, Martin Laabs