follow client realm referals when referrals in on
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24336 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1586,7 +1586,7 @@ krb5_init_creds_step(krb5_context context,
|
||||
N_("Preauth required but no preauth "
|
||||
"options send by KDC", ""));
|
||||
}
|
||||
} else if (ret == KRB5_KDC_ERR_WRONG_REALM) {
|
||||
} else if (ret == KRB5_KDC_ERR_WRONG_REALM && ctx->flags.canonicalize) {
|
||||
/* client referal to a new realm */
|
||||
if (ctx->error.crealm) {
|
||||
krb5_set_error_message(context, ret,
|
||||
|
Reference in New Issue
Block a user