From 70472a31edb8bf70f1ca6c0a0606f0d41f099851 Mon Sep 17 00:00:00 2001 From: Chris Provenzano Date: Wed, 13 Dec 1995 08:58:43 +0000 Subject: [PATCH] * kerberos_v4.c : Remove mkvno for krb5_db_entry git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7219 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kdc/ChangeLog | 3 +++ src/kdc/kerberos_v4.c | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog index 04db8f3c1..ce71b13c0 100644 --- a/src/kdc/ChangeLog +++ b/src/kdc/ChangeLog @@ -1,3 +1,6 @@ +Wed Dec 13 03:51:53 1995 Chris Provenzano (proven@mit.edu) + + * kerberos_v4.c : Remove mkvno for krb5_db_entry Tue Dec 12 01:10:34 1995 Chris Provenzano (proven@mit.edu) diff --git a/src/kdc/kerberos_v4.c b/src/kdc/kerberos_v4.c index 6af490669..6308d6511 100644 --- a/src/kdc/kerberos_v4.c +++ b/src/kdc/kerberos_v4.c @@ -410,7 +410,11 @@ kerb_get_principal(name, inst, principal, maxn, more) principal->max_life = v4_time > HR21 ? HR21 : (unsigned char) v4_time; principal->exp_date = (unsigned long) entries.expiration; /* principal->mod_date = (unsigned long) entries.mod_date; */ - principal->kdc_key_ver = entries.mkvno; +/* Set the master key version to 1. It's not really useful because all keys + * will be encrypted in the same master key version, and digging out the + * actuall key version will be harder than it's worth --proven */ +/* principal->kdc_key_ver = entries.mkvno; */ + principal->kdc_key_ver = 1; principal->key_version = pkey->key_data_kvno; principal->attributes = 0; -- 2.26.2