From: Barry Jaspan Date: Fri, 18 Oct 1996 18:25:34 +0000 (+0000) Subject: * dump.c (load_db): osa_adb_rename_policy_db will create the db, X-Git-Tag: krb5-1.0-freeze1~218 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4b505a7e306e7d391d4d1cf335a825c2f8385bef;p=krb5.git * 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 --- diff --git a/src/kadmin/dbutil/ChangeLog b/src/kadmin/dbutil/ChangeLog index 859f1e66f..fef1e7ab7 100644 --- a/src/kadmin/dbutil/ChangeLog +++ b/src/kadmin/dbutil/ChangeLog @@ -1,3 +1,8 @@ +Fri Oct 18 14:23:41 1996 Barry Jaspan + + * 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 * 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 fa76531de..3bbdddd2d 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,