* loadv4.c (fixup_database): Don't set SUPPORT_DESMD5 anymore
authorTom Yu <tlyu@mit.edu>
Thu, 25 Oct 2001 20:26:00 +0000 (20:26 +0000)
committerTom Yu <tlyu@mit.edu>
Thu, 25 Oct 2001 20:26:00 +0000 (20:26 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13858 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/dbutil/ChangeLog
src/kadmin/dbutil/loadv4.c

index e8d5c24970c858849795895df4caa5ad7d5b8917..9ceccf7f56072b086d39ac886af636bcfa12c156 100644 (file)
@@ -1,3 +1,7 @@
+2001-10-23  Tom Yu  <tlyu@mit.edu>
+
+       * loadv4.c (fixup_database): Don't set SUPPORT_DESMD5 anymore.
+
 2001-10-09  Ken Raeburn  <raeburn@mit.edu>
 
        * dump.c, kdb5_create.c, kdb5_util.h, loadv4.c, tcl_wrapper.c:
index 197d4bf929d1c660f566c80f802baeb700965033..74710884ccf717b1d17c8b98029fe16b55740c38 100644 (file)
@@ -967,29 +967,7 @@ static krb5_error_code fixup_database(context, realm)
     krb5_context context;
     char * realm;
 {
-    krb5_db_entry entry;
-    krb5_error_code retval;
-    int nprincs;
-    krb5_boolean more;
-
-
-    nprincs = 1;
-    retval = krb5_db_get_principal(context, &tgt_princ, &entry, 
-                                  &nprincs, &more);
-    if (retval)
-       return retval;
-    
-    if (nprincs == 0)
-       return 0;
-    
-    entry.attributes |= KRB5_KDB_SUPPORT_DESMD5;
-    
-    retval = krb5_db_put_principal(context, &entry, &nprincs);
-    
-    if (nprincs)
-       krb5_db_free_principal(context, &entry, nprincs);
-    
-    return retval;
+    return 0;
 }
     
 #else /* KRB5_KRB4_COMPAT */