if (System.getProperty("6932525") != null) { // For 6932525 and 6951366, make sure the etypes sent in 2nd AS-REQ // is not restricted to that of preauth
kdc.setOption(KDC.Option.ONLY_RC4_TGT, true);
} if (System.getProperty("6959292") != null) { // For 6959292, make sure that when etype for enc-part in 2nd AS-REQ // is different from that of preauth, client can still decrypt it
kdc.setOption(KDC.Option.RC4_FIRST_PREAUTH, true);
}
x.go();
}
int p = execute(
cmd, "-J-Djava.security.krb5.conf=" + OneKDC.KRB5_CONF, "-c", "cache1",
OneKDC.USER, new String(OneKDC.PASS)); if (p != 0) {
error.append("kinit password login error\n");
}
p = execute(
cmd, "-J-Djava.security.krb5.conf=" + OneKDC.KRB5_CONF, "-c", "cache2", "-k", "-t", OneKDC.KTAB,
OneKDC.USER); if (p != 0) {
error.append("kinit keytab login error\n");
}
} catch (ClassNotFoundException cnfe) {
System.out.println("No kinit, test ignored."); // Ignore, not on windows
} if (error.length() != 0) { thrownew Exception(error.toString());
}
}
privatestaticint execute(String... args) throws Exception { for (String arg: args) {
System.out.printf("%s ", arg);
}
System.out.println();
Process p = Runtime.getRuntime().exec(args); return p.waitFor();
}
}
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.1Bemerkung:
(vorverarbeitet am 2026-06-10)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.