Move keyset parsing and password based keyset generation into hdb.

Requested by Andrew Bartlett <abartlet@samba.org> for hdb-ldb backend


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14297 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2004-10-11 23:50:25 +00:00
parent 2ecb91f6fe
commit c61ef0d7ab
4 changed files with 406 additions and 342 deletions

View File

@@ -43,19 +43,7 @@ void
_kadm5_free_keys (krb5_context context,
int len, Key *keys)
{
int i;
for (i = 0; i < len; ++i) {
free (keys[i].mkvno);
keys[i].mkvno = NULL;
if (keys[i].salt != NULL) {
free_Salt(keys[i].salt);
free(keys[i].salt);
keys[i].salt = NULL;
}
krb5_free_keyblock_contents(context, &keys[i].key);
}
free (keys);
hdb_free_keys(context, len, keys);
}
/*