~ubuntu-branches/ubuntu/maverick/krb5/maverick

« back to all changes in this revision

Viewing changes to src/lib/krb5/os/get_krbhst.c

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hartman
  • Date: 2009-05-07 16:16:34 UTC
  • mfrom: (13.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20090507161634-xqyk0s9na0le4flj
Tags: 1.7dfsg~beta1-4
When  decrypting the TGS response fails with the subkey, try with the
session key to work around Heimdal bug, Closes: #527353 

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
 
69
69
    rethosts = 0;
70
70
 
71
 
    realm_kdc_names[0] = "realms";
 
71
    realm_kdc_names[0] = KRB5_CONF_REALMS;
72
72
    realm_kdc_names[1] = realm->data;
73
 
    realm_kdc_names[2] = "kdc";
 
73
    realm_kdc_names[2] = KRB5_CONF_KDC;
74
74
    realm_kdc_names[3] = 0;
75
75
 
76
76
    if (context->profile == 0)