[OpenAFS] Re: Creating service principal and keytab from active directory for afs/cell

Jeffrey Altman jaltman@secure-endpoints.com
Thu, 26 Sep 2013 11:57:31 -0400


This is a cryptographically signed message in MIME format.

--------------ms020202050301080307070204
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 9/26/2013 11:28 AM, Arne Wiebalck wrote:
>=20
> On Sep 26, 2013, at 5:02 PM, Andrew Deason <adeason@sinenomine.net
> <mailto:adeason@sinenomine.net>>
>  wrote:
>=20
>> On Thu, 26 Sep 2013 09:54:56 +0100
>> Owen Le Blanc <LeBlanc@mcc.ac.uk <mailto:LeBlanc@mcc.ac.uk>> wrote:
>>
>>> Can the user now be afs/cell/cellname@REALM?
>>
>> I'm not sure which parts of this you meant to be literal and which par=
ts
>> are the actual cell name. The principal name hasn't changed; it's alwa=
ys
>> afs/<cell>@<REALM>
>>
>>> Do you still need to use DES encryption types?
>>
>> No. The DES checkbox needs to be _off_ to use the new stronger
>> encryption.
>>
>>> Shouldn't the crypto be not DES but arcfour-hmac-md5?
>>>
>>> What other changes should or could be made to this page?
>>
>> For Windows 2003 I believe it should be RC4-HMAC-NT, yes. But for newe=
r
>> versions, you need an AES (this starts with 2008 or 2008 R2). But ther=
e
>=20
> Does that mean access to updated AFS servers would fail if AD handed ou=
t
> ArcFour encrypted service tickets for AFS? With our 2008 R2 test domain=

> controller
> I see that not-yet-updated clients get ArcFour service tickets (and DES=

> session
> keys) while new clients get AES service tickets (and AES session keys).=

> I don't
> have a test AFS cell at hand though, hence the question.
>=20
> Thanks!
>  Arne

As with any Kerberos service, the keytab deployed on the service host
must include all of the keys that can be generated for that service by
the KDC.

Jeffrey Altman



--------------ms020202050301080307070204
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoI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