adapt to new hdb interface

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3628 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-10-16 04:14:00 +00:00
parent 5d5e4f8c7a
commit ae31038985
18 changed files with 77 additions and 85 deletions

View File

@@ -84,13 +84,12 @@ doit2(HDB *db, hdb_entry *ent)
static void
doit(const char *principal)
{
HDB *db;
hdb_entry ent;
krb5_error_code ret;
memset(&ent, 0, sizeof(ent));
if((ret = hdb_open(context, &db, database, O_RDWR, 0600))){
ret = db->open(context, db, O_RDWR, 0600);
if(ret) {
krb5_warn(context, ret, "hdb_open");
return;
}