diff options
author | Barry Jaspan <bjaspan@mit.edu> | 1996-10-18 18:25:34 +0000 |
---|---|---|
committer | Barry Jaspan <bjaspan@mit.edu> | 1996-10-18 18:25:34 +0000 |
commit | 4b505a7e306e7d391d4d1cf335a825c2f8385bef (patch) | |
tree | 32cccdf124aa36ec4f0da7318bb490f8616e3e85 /src/kadmin | |
parent | 129c85bcaf43c0f3eaaa79fb5edfbd0abf37dfef (diff) | |
download | krb5-4b505a7e306e7d391d4d1cf335a825c2f8385bef.tar.gz krb5-4b505a7e306e7d391d4d1cf335a825c2f8385bef.tar.xz krb5-4b505a7e306e7d391d4d1cf335a825c2f8385bef.zip |
* dump.c (load_db): osa_adb_rename_policy_db will create the db,
so this function doesn't have to [krb5-admin/58]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9204 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kadmin')
-rw-r--r-- | src/kadmin/dbutil/ChangeLog | 5 | ||||
-rw-r--r-- | src/kadmin/dbutil/dump.c | 10 |
2 files changed, 5 insertions, 10 deletions
diff --git a/src/kadmin/dbutil/ChangeLog b/src/kadmin/dbutil/ChangeLog index 859f1e66fd..fef1e7ab71 100644 --- a/src/kadmin/dbutil/ChangeLog +++ b/src/kadmin/dbutil/ChangeLog @@ -1,3 +1,8 @@ +Fri Oct 18 14:23:41 1996 Barry Jaspan <bjaspan@mit.edu> + + * dump.c (load_db): osa_adb_rename_policy_db will create the db, + so this function doesn't have to [krb5-admin/58] + Tue Oct 8 13:35:56 1996 Barry Jaspan <bjaspan@mit.edu> * dump.c (load_db): rework the way policy database naming and diff --git a/src/kadmin/dbutil/dump.c b/src/kadmin/dbutil/dump.c index fa76531de9..3bbdddd2d3 100644 --- a/src/kadmin/dbutil/dump.c +++ b/src/kadmin/dbutil/dump.c @@ -2124,16 +2124,6 @@ error: exit_status++; } - if (load->create_kadm5 && - (kret = osa_adb_create_policy_db(&global_params)) && - kret != EEXIST) { - fprintf(stderr, - "%s: %s while creating new policy db %s\n", - programname, error_message(kret), - global_params.admin_dbname); - exit_status++; - } - if (kret = osa_adb_rename_policy_db(&newparams, &global_params)) { fprintf(stderr, |