switch to hdb_fetch_kvno

This commit is contained in:
Love Hornquist Astrand
2010-11-28 11:43:02 -08:00
parent 4cdd645ff4
commit 965836509b
7 changed files with 17 additions and 17 deletions

View File

@@ -54,8 +54,8 @@ kadm5_s_randkey_principal(void *server_handle,
ret = context->db->hdb_open(context->context, context->db, O_RDWR, 0);
if(ret)
return ret;
ret = context->db->hdb_fetch(context->context, context->db, princ,
HDB_F_GET_ANY|HDB_F_ADMIN_DATA, &ent);
ret = context->db->hdb_fetch_kvno(context->context, context->db, princ,
HDB_F_GET_ANY|HDB_F_ADMIN_DATA, 0, &ent);
if(ret)
goto out;