Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Sep 2013 12:19:09 +0200
From:      Martin Laabs <mailinglists@martinlaabs.de>
To:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   nfsv4 fails with kerberos
Message-ID:  <522AFD9D.9010500@martinlaabs.de>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?522AFD9D.9010500>