All of lore.kernel.org
 help / color / mirror / Atom feed
From: Orion Poplawski <orion@cora.nwra.com>
To: linux-nfs@vger.kernel.org
Subject: Trouble with krb5 mounts with multiple hostnames/networks
Date: Fri, 6 May 2011 21:08:09 +0000 (UTC)	[thread overview]
Message-ID: <loom.20110506T230745-58@post.gmane.org> (raw)

We have a setup where some machines have two network connections, one of which
is dedicated for nfs traffic.  The nfs network interface will have a hostname
with a "g" suffix.  e.g. saga's interface on the nfs network is called "sagag".

This has worked fine for years with nfs3, and am now testing out nfs4/krb5.  I
can connect fine with the normal hostname, but trying with the nfs network name
fails:

# mount -t nfs4 -o sec=krb5  alexandriag:/cora2 /mnt
mount.nfs4: Permission denied

I've added krb5 nfs principals for both hostnames in each machine's
/etc/krb5.keytab.

I'm running centos 5.6 with nfs-utils-1.0.9-50.el5.

Is there any hope of this working with nfs4/krb5?  Or is this just not going to
fly because of hostname authentication issues?




                 reply	other threads:[~2011-05-06 21:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20110506T230745-58@post.gmane.org \
    --to=orion@cora.nwra.com \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.