ENOENT -> HDB_ERR_NOENTRY (from Derrick Brashear)

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11063 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2002-07-31 09:43:20 +00:00
parent e3ebc7b906
commit 47b7f07d33
2 changed files with 4 additions and 4 deletions

View File

@@ -69,7 +69,7 @@ fetch_server (const Ticket *t,
kdc_log(0,
"Request to convert ticket from %s for unknown principal %s: %s",
from, *spn, krb5_get_err_text(context, ret));
if (ret == ENOENT)
if (ret == HDB_ERR_NOENTRY)
ret = KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN;
return ret;
}