[krbdev.mit.edu #8448] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Wed Jul 6 16:30:49 EDT 2016


Improve kdb5 error when default realm is unset

When the default realm name is unspecified, and none was set in the
krb5_context object, return KRB5_CONFIG_NODEFREALM from libkdb5
instead of the confusing KRB5_KDB_DBTYPE_NOTFOUND.  To accomplish
this, make kdb_get_library_name() return a krb5_error_code.

(cherry picked from commit 4131988dec0199287765e1875fe0bbd375656a62)

https://github.com/krb5/krb5/commit/dcc8b9541947024386905d73a966f458e94ac3d5
Author: Greg Hudson <ghudson at mit.edu>
Committer: Tom Yu <tlyu at mit.edu>
Commit: dcc8b9541947024386905d73a966f458e94ac3d5
Branch: krb5-1.14
 src/lib/kdb/kdb5.c |   20 +++++++++++++-------
 1 files changed, 13 insertions(+), 7 deletions(-)



More information about the krb5-bugs mailing list