lib/krb5: correctly follow KRB5_KDC_ERR_WRONG_REALM client referrals
commitbbff216dc659954a76bb395ee36aa1a1c8571941
authorStefan Metzmacher <metze@samba.org>
Tue, 10 Feb 2015 12:27:57 +0000 (10 13:27 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 31 Jul 2015 05:30:23 +0000 (31 17:30 +1200)
treed5859759ee2366190d8d71e33fdc529bcb65d844
parentae4d222f586b7e93800b902b6823ab3a3978ff54
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>
lib/krb5/init_creds_pw.c