lib/krb5 correctly follow KRB5_KDC_ERR_WRONG_REALM client referrals
authorStefan Metzmacher <metze@samba.org>
Wed, 5 Sep 2018 02:49:54 +0000 (14:49 +1200)
committerStefan Metzmacher <metze@samba.org>
Wed, 29 Apr 2020 09:07:57 +0000 (11:07 +0200)
commit8b7db0cacfc2a2353bafcad250668d97714ed0b3
treef47fee9c24328bbb7f64e4422b9ed94b4ba5694f
parentc0f575b6e168bc04b4a74870d1c0fc186296abc7
lib/krb5 correctly follow KRB5_KDC_ERR_WRONG_REALM client referrals

An AS-REQ with an enterprise principal will always directed to a kdc of the local
(default) realm. The KDC directs the client into the direction of the
final realm. See rfc6806.txt.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from Samba commit fca11edc0b476f5b87b3301da32fd0409d9590c7)
lib/krb5/init_creds_pw.c