* dump.c (load_db): osa_adb_rename_policy_db will create the db,
authorBarry Jaspan <bjaspan@mit.edu>
Fri, 18 Oct 1996 18:25:34 +0000 (18:25 +0000)
committerBarry Jaspan <bjaspan@mit.edu>
Fri, 18 Oct 1996 18:25:34 +0000 (18:25 +0000)
  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

src/kadmin/dbutil/ChangeLog
src/kadmin/dbutil/dump.c

index 859f1e66fd6c6a6f04eb6ee0d500ed70eb8f74bd..fef1e7ab712601406543df3fbca991d25a93fa73 100644 (file)
@@ -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
index fa76531de9fdfc310edde1d2c0c1c399f073ea81..3bbdddd2d3fe9fd0645142e968fbe1e6eeb87104 100644 (file)
@@ -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,