2000-04-29 Jeffrey Altman <jaltman@columbia.edu>
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 30 Apr 2000 00:27:08 +0000 (00:27 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 30 Apr 2000 00:27:08 +0000 (00:27 +0000)
        * 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

src/lib/krb5/os/ChangeLog
src/lib/krb5/os/hst_realm.c

index d4d3dc1d739bcc334e3a315564ab202d82418883..88fdd88b4e48ff23128fb795ad822e716fbe1d08 100644 (file)
@@ -1,3 +1,8 @@
+2000-04-29  Jeffrey Altman <jaltman@columbia.edu>
+
+        * hst_realm.c (krb5_get_host_realm)
+          remove the searchlist and defaultrealm _kerberos queries
+
 2000-04-18  Danilo Almeida  <dalmeida@mit.edu>
 
        * prompter.c (krb5int_set_prompt_types): Set to actual value
index 3c0005caf91ea69152a6412c41e5767bc040b135..1e8923f4c75f38f71baf06703c189350b0d6c13a 100644 (file)
@@ -319,8 +319,6 @@ krb5_get_host_realm(context, host, realmsp)
              * it up via DNS.  Look for a TXT records of the form:
              *
              * _kerberos.<hostname>
-             * _kerberos.<searchlist>
-             * _kerberos.<defaultrealm>
              *
              */
             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 */