summaryrefslogtreecommitdiffstats
path: root/src/kdc/kerberos_v4.c
diff options
context:
space:
mode:
authorChris Provenzano <proven@mit.edu>1995-12-13 08:58:43 +0000
committerChris Provenzano <proven@mit.edu>1995-12-13 08:58:43 +0000
commit70472a31edb8bf70f1ca6c0a0606f0d41f099851 (patch)
tree873a3d60304fe820e00c9613be6f9aeec4118439 /src/kdc/kerberos_v4.c
parent6c2d042f241d4d3259759565142bcc1220bde4cf (diff)
downloadkrb5-70472a31edb8bf70f1ca6c0a0606f0d41f099851.tar.gz
krb5-70472a31edb8bf70f1ca6c0a0606f0d41f099851.tar.xz
krb5-70472a31edb8bf70f1ca6c0a0606f0d41f099851.zip
* kerberos_v4.c : Remove mkvno for krb5_db_entry
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7219 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kdc/kerberos_v4.c')
-rw-r--r--src/kdc/kerberos_v4.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/kdc/kerberos_v4.c b/src/kdc/kerberos_v4.c
index 6af4906690..6308d65113 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;