+2001-09-07 Ken Raeburn <raeburn@mit.edu>
+
+ * rd_req_dec.c (krb5_rd_req_decoded_opt): Pass server realm to
+ transited-list check, not local realm, in case they're different.
+
2001-08-21 Ken Raeburn <raeburn@mit.edu>
* walk_rtree.c (krb5_walk_realm_tree): Initialize slen to silence
/* Hierarchical Cross-Realm */
{
- krb5_data lrealm;
krb5_data * realm;
krb5_transited * trans;
* transited are within the hierarchy between the client's realm
* and the local realm.
*/
- if (trans->tr_contents.data && trans->tr_contents.data[0]) {
- krb5_get_default_realm(context, &(lrealm.data));
- lrealm.length = strlen(lrealm.data);
- retval = krb5_check_transited_list(context, &(trans->tr_contents),
- realm, &lrealm);
- free(lrealm.data);
+ if (trans->tr_contents.data && trans->tr_contents.data[0]) {
+ retval = krb5_check_transited_list(context, &(trans->tr_contents),
+ realm,
+ krb5_princ_realm (context,
+ server));
}
}