merge support for FAST in as-req codepath

This commit is contained in:
Love Hörnquist Åstrand
2011-10-28 19:25:48 -07:00
31 changed files with 6112 additions and 1212 deletions

View File

@@ -232,6 +232,15 @@ init(struct init_options *opt, int argc, char **argv)
krb5_free_principal(context, princ);
/* Create `WELLKNONW/org.h5l.fast-cookie@WELLKNOWN:ORG.H5L' for FAST cookie */
krb5_make_principal(context, &princ, KRB5_WELLKNOWN_ORG_H5L_REALM,
KRB5_WELLKNOWN_NAME, "org.h5l.fast-cookie", NULL);
create_random_entry(princ, 60*60, 60*60,
KRB5_KDB_REQUIRES_PRE_AUTH|
KRB5_KDB_DISALLOW_TGT_BASED|
KRB5_KDB_DISALLOW_ALL_TIX);
krb5_free_principal(context, princ);
/* Create `default' */
{
kadm5_principal_ent_rec ent;