diff --git a/kdc/krb5tgs.c b/kdc/krb5tgs.c index 833c09988..51f0c9208 100644 --- a/kdc/krb5tgs.c +++ b/kdc/krb5tgs.c @@ -1648,7 +1648,7 @@ server_lookup: NULL, NULL, &server); if (ret == HDB_ERR_NOT_FOUND_HERE) { - kdc_log(context, config, 5, "target %s does not have secrets at this KDC, need to proxy", sp); + kdc_log(context, config, 5, "target %s does not have secrets at this KDC, need to proxy", spn); goto out; } else if (ret == HDB_ERR_WRONG_REALM) { free(ref_realm);