No subject
Roland C. Dowdeswell
elric at imrryr.org
Tue Oct 26 18:38:14 EDT 2004
I've noticed that MIT Kerberos does not properly import version
2.0 dumps. It gets the kvno of the v4 key wrong which causes some
problems using v4.
Please find the patch attached.
Thanks,
--
Roland Dowdeswell http://www.Imrryr.ORG/~elric/
===================================================================
RCS file: /ms/dev/sec/mitkrb5/cvs-dirs/mitkrb5-1.3.1/mitkrb5/src/kadmin/dbutil/dump.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -u -r1.2 -r1.3
--- src/kadmin/dbutil/dump.c 29 Mar 2004 20:18:10 -0000 1.2
+++ src/kadmin/dbutil/dump.c 4 Aug 2004 02:09:17 -0000 1.3
@@ -1516,7 +1516,7 @@
try2read = read_pr_data1;
error++;
}
- pkey->key_data_kvno = tmpint1;
+ pkey->key_data_kvno = akey->key_data_kvno = tmpint1;
dbent.fail_auth_count = tmpint3;
/* Read modifier name */
if (!error && read_string(filep,
More information about the krbdev
mailing list