fix error message in constrained delegation, from andrew bartlett

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25295 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2009-07-03 03:23:25 +00:00
parent 506b98d110
commit 326381bfc6

View File

@@ -1792,7 +1792,7 @@ server_lookup:
if (ret) { if (ret) {
kdc_log(context, config, 0, kdc_log(context, config, 0,
"failed to decrypt ticket for " "failed to decrypt ticket for "
"constrained delegation from %s to %s ", spn, cpn); "constrained delegation from %s to %s ", cpn, spn);
goto out; goto out;
} }
@@ -1800,7 +1800,7 @@ server_lookup:
if (adtkt.flags.forwardable == 0) { if (adtkt.flags.forwardable == 0) {
kdc_log(context, config, 0, kdc_log(context, config, 0,
"Missing forwardable flag on ticket for " "Missing forwardable flag on ticket for "
"constrained delegation from %s to %s ", spn, cpn); "constrained delegation from %s to %s ", cpn, spn);
ret = KRB5KDC_ERR_BADOPTION; ret = KRB5KDC_ERR_BADOPTION;
goto out; goto out;
} }
@@ -1809,7 +1809,7 @@ server_lookup:
if (ret) { if (ret) {
kdc_log(context, config, 0, kdc_log(context, config, 0,
"constrained delegation from %s to %s not allowed", "constrained delegation from %s to %s not allowed",
spn, cpn); cpn, spn);
goto out; goto out;
} }