Change _kdc_db_fetch() to return the database pointer too if needed by

the consumer.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17904 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-08-23 11:45:16 +00:00
parent 03f49a749f
commit 599d3cf216
6 changed files with 18 additions and 11 deletions

View File

@@ -66,7 +66,8 @@ fetch_server (krb5_context context,
krb5_get_err_text(context, ret));
return ret;
}
ret = _kdc_db_fetch(context, config, sprinc, HDB_F_GET_SERVER, server);
ret = _kdc_db_fetch(context, config, sprinc, HDB_F_GET_SERVER,
NULL, server);
krb5_free_principal(context, sprinc);
if (ret) {
kdc_log(context, config, 0,