From: Jeffrey Altman Date: Sun, 30 Apr 2000 00:27:08 +0000 (+0000) Subject: 2000-04-29 Jeffrey Altman X-Git-Tag: krb5-1.3-alpha1~2131 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b903bf49a7e1f61d569279ab640afac2ae0e1ac8;p=krb5.git 2000-04-29 Jeffrey Altman * hst_realm.c (krb5_get_host_realm) remove the searchlist and defaultrealm _kerberos queries git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12209 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index d4d3dc1d7..88fdd88b4 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,8 @@ +2000-04-29 Jeffrey Altman + + * hst_realm.c (krb5_get_host_realm) + remove the searchlist and defaultrealm _kerberos queries + 2000-04-18 Danilo Almeida * prompter.c (krb5int_set_prompt_types): Set to actual value diff --git a/src/lib/krb5/os/hst_realm.c b/src/lib/krb5/os/hst_realm.c index 3c0005caf..1e8923f4c 100644 --- a/src/lib/krb5/os/hst_realm.c +++ b/src/lib/krb5/os/hst_realm.c @@ -319,8 +319,6 @@ krb5_get_host_realm(context, host, realmsp) * it up via DNS. Look for a TXT records of the form: * * _kerberos. - * _kerberos. - * _kerberos. * */ cp = local_host; @@ -330,17 +328,6 @@ krb5_get_host_realm(context, host, realmsp) if (cp) cp++; } while (retval && cp && cp[0]); - if (retval) - retval = krb5_try_realm_txt_rr("_kerberos", "", &realm); - if (retval && default_realm) { - cp = default_realm; - do { - retval = krb5_try_realm_txt_rr("_kerberos", cp, &realm); - cp = strchr(cp,'.'); - if (cp) - cp++; - } while (retval && cp && cp[0]); - } } } #endif /* KRB5_DNS_LOOKUP */