+2000-02-21 Bear Giles <bgiles@coyotesong.com>
+
+ * alt_prof.c (krb5_read_realm_params): Permit realm supported
+ enctypes to be unspecified, letting the KDC produce defaults.
+ Don't look up enctypes at all if an error is to be returned.
+
2000-02-18 Tom Yu <tlyu@mit.edu>
* kadm_rpc_xdr.c (xdr_chpass3_arg):
/* Get the value for the supported enctype/salttype matrix */
/* XXX This is so that the kdc will search a different
enctype list than kadmind */
- hierarchy[2] = "kdc_supported_enctypes";
- kret = krb5_aprof_get_string(aprofile, hierarchy, TRUE, &svalue);
- if (kret) {
- hierarchy[2] = "supported_enctypes";
- kret = krb5_aprof_get_string(aprofile, hierarchy, TRUE, &svalue);
- }
if (!kret) {
- krb5_string_to_keysalts(svalue,
- ", \t", /* Tuple separators */
- ":.-", /* Key/salt separators */
- 0, /* No duplicates */
- &rparams->realm_keysalts,
- &rparams->realm_num_keysalts);
- krb5_xfree(svalue);
+ hierarchy[2] = "kdc_supported_enctypes";
+ kret = krb5_aprof_get_string(aprofile, hierarchy, TRUE, &svalue);
+ if (kret) {
+ hierarchy[2] = "supported_enctypes";
+ kret = krb5_aprof_get_string(aprofile, hierarchy, TRUE, &svalue);
+ }
+ if (!kret) {
+ krb5_string_to_keysalts(svalue,
+ ", \t", /* Tuple separators */
+ ":.-", /* Key/salt separators */
+ 0, /* No duplicates */
+ &rparams->realm_keysalts,
+ &rparams->realm_num_keysalts);
+ krb5_xfree(svalue);
+ }
+ kret = 0;
}
cleanup: