Set `changed_by' and free entry.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2258 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-07-13 07:28:12 +00:00
parent 7a99c3cc6b
commit 72b735c8c5
2 changed files with 12 additions and 0 deletions

View File

@@ -94,7 +94,13 @@ doit(char *filename, int merge)
ent.kvno = atoi(e.kvno);
ent.max_life = atoi(e.max_life);
ent.max_renew = atoi(e.max_renew);
krb5_build_principal(context, &ent.changed_by,
0,
""
"kadmin",
NULL);
db->store(context, db, &ent);
hdb_free_entry (context, &ent);
}
db->close(context, db);
fclose(f);