From: Tom Yu Date: Thu, 25 Oct 2001 20:26:00 +0000 (+0000) Subject: * loadv4.c (fixup_database): Don't set SUPPORT_DESMD5 anymore X-Git-Tag: krb5-1.3-alpha1~1001 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0af03dd9ced634438709a5706e38828162170bac;p=krb5.git * loadv4.c (fixup_database): Don't set SUPPORT_DESMD5 anymore git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13858 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kadmin/dbutil/ChangeLog b/src/kadmin/dbutil/ChangeLog index e8d5c2497..9ceccf7f5 100644 --- a/src/kadmin/dbutil/ChangeLog +++ b/src/kadmin/dbutil/ChangeLog @@ -1,3 +1,7 @@ +2001-10-23 Tom Yu + + * loadv4.c (fixup_database): Don't set SUPPORT_DESMD5 anymore. + 2001-10-09 Ken Raeburn * dump.c, kdb5_create.c, kdb5_util.h, loadv4.c, tcl_wrapper.c: diff --git a/src/kadmin/dbutil/loadv4.c b/src/kadmin/dbutil/loadv4.c index 197d4bf92..74710884c 100644 --- a/src/kadmin/dbutil/loadv4.c +++ b/src/kadmin/dbutil/loadv4.c @@ -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 */