lib/krb5 correctly follow KRB5_KDC_ERR_WRONG_REALM client referrals
authorStefan Metzmacher <metze@samba.org>
Wed, 5 Sep 2018 05:35:47 +0000 (17:35 +1200)
committerStefan Metzmacher <metze@samba.org>
Wed, 29 Apr 2020 09:07:57 +0000 (11:07 +0200)
commit028b7cc52718d332eae24cf82d11a3d4447a73f9
tree69a73c1afe02099aebd195fb68727caa11bc138f
parent4c9e3116cebdcf08dd53f875f3ba085815420dd2
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