Skip Menu |
 

From: ghudson@mit.edu
Subject: SVN Commit

krb5_dbe_lookup_mkvno assumes an mkvno of 1 for entries with no
explicit tl_data. We've seen at least one pre-1.7 KDB with a master
kvno of 0, violating this assumption. Fix this as follows:

* krb5_dbe_lookup_mkvno outputs 0 instead of 1 if no tl_data exists.
* A new function krb5_dbe_get_mkvno translates this 0 value to the
minimum version number in the mkey_list. (krb5_dbe_lookup_mkvno
cannot do this as it doesn't take the mkey_list as a parameter.)
* Call sites to krb5_dbe_lookup_mkvno are converted to
krb5_dbe_get_mkvno, except for an LDAP case where it is acceptable
to store 0 if the mkvno is unknown.


https://github.com/krb5/krb5/commit/f0e084261aec6be2d508b33f960d38d19f0d0345
Commit By: ghudson
Revision: 23676
Changed Files:
U trunk/src/include/kdb.h
U trunk/src/kadmin/dbutil/kdb5_mkey.c
U trunk/src/lib/kadm5/srv/svr_principal.c
U trunk/src/lib/kdb/kdb5.c
U trunk/src/lib/kdb/libkdb5.exports
From: ghudson@mit.edu
Subject: SVN Commit

Fix minor error-handling bug in r23676.


https://github.com/krb5/krb5/commit/c1054423740e424e027adf93e7d1b4720ec027de
Commit By: ghudson
Revision: 23679
Changed Files:
U trunk/src/kadmin/dbutil/kdb5_mkey.c
From: tlyu@mit.edu
Subject: SVN Commit
Download (untitled) / with headers
text/plain 1.2KiB

pull up r23676 from trunk

------------------------------------------------------------------------
r23676 | ghudson | 2010-01-28 13:39:31 -0800 (Thu, 28 Jan 2010) | 17 lines

ticket: 6650
subject: Handle migration from pre-1.7 databases with master key kvno != 1
target_version: 1.7.1
tags: pullup

krb5_dbe_lookup_mkvno assumes an mkvno of 1 for entries with no
explicit tl_data. We've seen at least one pre-1.7 KDB with a master
kvno of 0, violating this assumption. Fix this as follows:

* krb5_dbe_lookup_mkvno outputs 0 instead of 1 if no tl_data exists.
* A new function krb5_dbe_get_mkvno translates this 0 value to the
minimum version number in the mkey_list. (krb5_dbe_lookup_mkvno
cannot do this as it doesn't take the mkey_list as a parameter.)
* Call sites to krb5_dbe_lookup_mkvno are converted to
krb5_dbe_get_mkvno, except for an LDAP case where it is acceptable
to store 0 if the mkvno is unknown.

https://github.com/krb5/krb5/commit/37c47dc8acb9aa2c00da5fb827ed6cd2eb063773
Commit By: tlyu
Revision: 23822
Changed Files:
U branches/krb5-1-7/src/include/kdb.h
U branches/krb5-1-7/src/kadmin/dbutil/kdb5_mkey.c
U branches/krb5-1-7/src/lib/kadm5/srv/svr_principal.c
U branches/krb5-1-7/src/lib/kdb/kdb5.c
U branches/krb5-1-7/src/lib/kdb/libkdb5.exports
From: tlyu@mit.edu
Subject: SVN Commit

pull up r23679 from trunk

------------------------------------------------------------------------
r23679 | ghudson | 2010-01-31 13:04:48 -0800 (Sun, 31 Jan 2010) | 4 lines

ticket: 6650

Fix minor error-handling bug in r23676.

https://github.com/krb5/krb5/commit/a0837453f25a38e30fad3844604bd95c147c409a
Commit By: tlyu
Revision: 23823
Changed Files:
U branches/krb5-1-7/src/kadmin/dbutil/kdb5_mkey.c