Try to do a best realm match for a hostname, trying all the domain components.
authorRichard Basch <probe@mit.edu>
Tue, 24 Oct 1995 01:15:50 +0000 (01:15 +0000)
committerRichard Basch <probe@mit.edu>
Tue, 24 Oct 1995 01:15:50 +0000 (01:15 +0000)
commit3426918a13ce6a574944783eee59cbc740f8d4fc
treeba2f8836913ea6a8d22401193e0a00c59925d1e5
parent37a948e96537fb7b865a0dfa1a2d73a6f82695b0
Try to do a best realm match for a hostname, trying all the domain components.
For example, the realm search for a host A.B.C.D will include
A.B.C.D  .B.C.D  B.C.D  .C.D  C.D  .D  D
If all of them fail, assume the realm is B.C.D (as was previously the case).

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6988 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/os/hst_realm.c