* decomp_tkt.c (dcmp_tkt_int): Patch from Booker Bense to use
krb_get_lrealm() instead of copying KRB_REALM into prealm.
ticket: 710
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15153
dc483132-0cff-0310-8789-
dd5450dbe970
+2003-02-04 Tom Yu <tlyu@mit.edu>
+
+ * decomp_tkt.c (dcmp_tkt_int): Patch from Booker Bense to use
+ krb_get_lrealm() instead of copying KRB_REALM into prealm.
+
2003-01-28 Ken Raeburn <raeburn@mit.edu>
* RealmsConfig-glue.c (get_krbhst_default, krb_get_krbhst):
memcpy(prealm, ptr, (size_t)len);
ptr += len;
- /* temporary hack until realms are dealt with properly */
+ /*
+ * This hack may be needed for some really krb4 servers, such as
+ * AFS kaserver (?), that fail to fill in the realm of a ticket
+ * under some circumstances.
+ */
if (*prealm == '\0')
- strcpy(prealm, KRB_REALM);
+ krb_get_lrealm(prealm, 1);
/*
* Ensure there's enough remaining in the ticket to get the