Fix logic error when we do client referrals.

Author: andrew bartlett <abartlet@samba.org>

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25283 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2009-06-12 18:10:28 +00:00
parent 1f42785746
commit d104f3b9d6

View File

@@ -1601,7 +1601,7 @@ krb5_init_creds_step(krb5_context context,
ret = 0; ret = 0;
} else if (ret == KRB5_KDC_ERR_WRONG_REALM && ctx->flags.canonicalize) { } else if (ret == KRB5_KDC_ERR_WRONG_REALM && ctx->flags.canonicalize) {
/* client referal to a new realm */ /* client referal to a new realm */
if (ctx->error.crealm) { if (ctx->error.crealm == NULL) {
krb5_set_error_message(context, ret, krb5_set_error_message(context, ret,
N_("Got a client referral, not but no realm", "")); N_("Got a client referral, not but no realm", ""));
goto out; goto out;