Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) From: tlyu@mit.edu Subject: git commit RT-Send-CC: X-RT-Original-Encoding: iso-8859-1 Content-Length: 692 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 Committer: Tom Yu Commit: dcc8b9541947024386905d73a966f458e94ac3d5 Branch: krb5-1.14 src/lib/kdb/kdb5.c | 20 +++++++++++++------- 1 files changed, 13 insertions(+), 7 deletions(-)