add `replace' arg to db->store

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3293 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-08-30 19:31:44 +00:00
parent a2a09b5eab
commit 7cc76266cf
7 changed files with 11 additions and 11 deletions

View File

@@ -106,7 +106,7 @@ init(int argc, char **argv)
ent.flags.renewable = 1;
ent.flags.postdate = 1;
ent.flags.server = 1;
db->store(context, db, &ent);
db->store(context, db, 1, &ent);
hdb_free_entry(context, &ent);
/* Create `default' */
@@ -129,7 +129,7 @@ init(int argc, char **argv)
"kadmin",
NULL);
ent.flags.invalid = 1;
db->store(context, db, &ent);
db->store(context, db, 1, &ent);
hdb_free_entry(context, &ent);
/* Create `kadmin/changepw' */
@@ -157,7 +157,7 @@ init(int argc, char **argv)
ent.flags.initial = 1;
ent.flags.server = 1;
ent.flags.change_pw = 1;
db->store(context, db, &ent);
db->store(context, db, 1, &ent);
hdb_free_entry(context, &ent);
}
db->close(context, db);