linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kevin Coffman <kwc@citi.umich.edu>
To: Orion Poplawski <orion@cora.nwra.com>
Cc: linux-nfs@vger.kernel.org
Subject: Re: Trouble mounting from EL5.5 server on Fedora 14 - gss_kerberos_mech: unsupported algorithm 6
Date: Tue, 4 Jan 2011 14:18:56 -0500	[thread overview]
Message-ID: <AANLkTi=cnUPwv7P4u71jyf3GoEAR6B3AeK+A5-KmJUgk@mail.gmail.com> (raw)
In-Reply-To: <4D236F43.4040403@cora.nwra.com>

That note is only relevant for NFS clients.  The NFS client takes
advantage of a Kerberos function to limit the enctypes negotiated with
the server.

The only way the KDC knows how to limit the enctypes negotiated for a
server is to limit the enctypes when creating its keytab.

K.C.

On Tue, Jan 4, 2011 at 2:04 PM, Orion Poplawski <orion@cora.nwra.com> wrote:
> On 01/04/2011 11:37 AM, Kevin Coffman wrote:
>>
>> On Tue, Jan 4, 2011 at 12:27 PM, Orion Poplawski<orion@cora.nwra.com>
>>  wrote:
>>>
>>> I'm trying to get kerberized NFSv4 setup for the first time (have had
>>> non-secure v4 up for a while).  Client is Fedora 14, server is CentOS
>>> 5.5.
>>>
>>> [ ... ]
>>>
>>> keytabs on server and client are like:
>>>
>>>   3 nfs/orca.cora.nwra.com@CORA.NWRA.COM (Triple DES cbc mode with
>>> HMAC/sha1)
>>>   3 nfs/orca.cora.nwra.com@CORA.NWRA.COM (ArcFour with HMAC/md5)
>>>   3 nfs/orca.cora.nwra.com@CORA.NWRA.COM (DES with HMAC/sha1)
>>>   3 nfs/orca.cora.nwra.com@CORA.NWRA.COM (DES cbc mode with RSA-MD5)
>>>
>>> Any ideas?
>>
>> Only DES is supported for your server's kernel:
>>
>> http://www.citi.umich.edu/projects/nfsv4/linux/krb5-setup.html
>
> Indeed, it does work if I limit the keys to DES only
> (des-hmac-sha1:normal,des-cbc-md5:normal).  Although I had seen at least one
> report that using ktadd -e des-cbc-crc:normal was no longer necessary as of
> 5.2:
>
> http://sadiquepp.blogspot.com/2009/02/how-to-configure-nfsv4-with-kerberos-in.html
>
> --
> Orion Poplawski
> Technical Manager                     303-415-9701 x222
> NWRA/CoRA Division                    FAX: 303-415-9702
> 3380 Mitchell Lane                  orion@cora.nwra.com
> Boulder, CO 80301              http://www.cora.nwra.com
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>

      reply	other threads:[~2011-01-04 19:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-04 17:27 Trouble mounting from EL5.5 server on Fedora 14 - gss_kerberos_mech: unsupported algorithm 6 Orion Poplawski
2011-01-04 18:37 ` Kevin Coffman
2011-01-04 19:04   ` Orion Poplawski
2011-01-04 19:18     ` Kevin Coffman [this message]

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='AANLkTi=cnUPwv7P4u71jyf3GoEAR6B3AeK+A5-KmJUgk@mail.gmail.com' \
    --to=kwc@citi.umich.edu \
    --cc=linux-nfs@vger.kernel.org \
    --cc=orion@cora.nwra.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).