[OpenAFS] AFS + CrossRealm + FreeIPA + Migration
Andreas Ladanyi
andreas.ladanyi@kit.edu
Fri, 07 Nov 2014 15:42:11 +0100
This is a cryptographically signed message in MIME format.
--------------ms010102020403020801090202
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Am 07.11.2014 um 14:46 schrieb Brandon Allbery:
> On Fri, 2014-11-07 at 11:41 +0100, Andreas Ladanyi wrote:
>> Kerberos error code returned by get_cred : -1765328370
> KRB5KDC_ERR_ETYPE_NOSUPP
>
> You are probably still using DES, and need "allow_weak_crypto =3D true"=
in
> [libdefaults] on clients and the KDC. An answer for the future (and
> possibly necessary as some Kerberos implementations are disabling DES
> entirely) is to migrate the AFS cell to rxkad-k5.
>
allow_weak_crypto =3D true is set in the krb5.conf on test client pc. It
doesnt work.
The afs/"AFS_CELL" service principal on the new server with FreeIPA is:
afs/"AFS_CELL"@Realm B (des-cbc-crc), no salt
Is this the correct key type ? I think it is.
--------------ms010102020403020801090202
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIP+jCC
BNUwggO9oAMCAQICCFBOxvU9EbRkMA0GCSqGSIb3DQEBCwUAMHExCzAJBgNVBAYTAkRFMRww
GgYDVQQKExNEZXV0c2NoZSBUZWxla29tIEFHMR8wHQYDVQQLExZULVRlbGVTZWMgVHJ1c3Qg
Q2VudGVyMSMwIQYDVQQDExpEZXV0c2NoZSBUZWxla29tIFJvb3QgQ0EgMjAeFw0xNDA3MjIx
MjA4MjZaFw0xOTA3MDkyMzU5MDBaMFoxCzAJBgNVBAYTAkRFMRMwEQYDVQQKEwpERk4tVmVy
ZWluMRAwDgYDVQQLEwdERk4tUEtJMSQwIgYDVQQDExtERk4tVmVyZWluIFBDQSBHbG9iYWwg
LSBHM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