5230b2f8f532cd82c516f1a9c2cbcb8795fb580d
An MIT dump file may contain multiple key sets for one principal, with different kvnos. The Heimdal database can only represent a single kvno, and previously the kvno was set to the last key found in the entry and all keys were added to the entry. Since kvnos are given from high to low in the database dump, this would result in the principal getting the kvno of the oldest key and all keys stored without regard for kvno. Instead, ignore all keys with kvnos lower than the first kvno we see and only store keys with a kvno matching it. If we see a key with a kvno higher than the first kvno we see, exit with an error since that case is not currently handled (and should not happen in a typical MIT database dump). Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
Heimdal is a Kerberos 5 implementation. For information how to install see <http://www.h5l.org/compile.html>. There are briefer man pages for most of the commands. Bug reports and bugs are appreciated, see more under Bug reports in the manual on how we prefer them: <heimdal-bugs@h5l.org>. For more information see the web-page at <http://www.h5l.org/> or the mailing lists: heimdal-announce@sics.se low-volume announcement heimdal-discuss@sics.se high-volume discussion send a mail to heimdal-announce-request@sics.se and heimdal-discuss-request@sics.se respectively to subscribe.
Description
Languages
C
92.1%
Roff
2.8%
Shell
2.3%
Makefile
0.7%
M4
0.5%
Other
1.4%