or hostname to a Kerberos realm name. The tag name can be a host name
or domain name, where domain names are indicated by a prefix of a
period (``.``). The value of the relation is the Kerberos realm name
-for that particular host or domain. The Kerberos realm may be
+for that particular host or domain. A host name relation implicitly
+provides the corresponding domain name relation, unless an explicit domain
+name relation is provided. The Kerberos realm may be
identified either in the realms_ section or using DNS SRV records.
Host names and domain names should be in lower case. For example:
[domain_realm]
crash.mit.edu = TEST.ATHENA.MIT.EDU
- .mit.edu = ATHENA.MIT.EDU
+ .dev.mit.edu = TEST.ATHENA.MIT.EDU
mit.edu = ATHENA.MIT.EDU
-maps the host with the exact name ``crash.mit.edu`` into the
-TEST.ATHENA.MIT.EDU realm. The period prefix in ``.mit.edu`` denotes
-that all systems in the ``mit.edu`` domain belong to
-``ATHENA.MIT.EDU`` realm. The third entry maps the host ``mit.edu``
-itself to the ``ATHENA.MIT.EDU`` realm.
+maps the host with the name ``crash.mit.edu`` into the
+``TEST.ATHENA.MIT.EDU`` realm. The second entry maps all hosts under the
+domain ``dev.mit.edu`` into the ``TEST.ATHENA.MIT.EDU`` realm, but not
+the host with the name ``dev.mit.edu``. That host is matched
+by the third entry, which maps the host ``mit.edu`` and all hosts
+under the domain ``mit.edu`` that do not match a preceding rule
+into the realm ``ATHENA.MIT.EDU``.
If no translation entry applies to a hostname used for a service
principal for a service ticket request, the library will try to get a
[libdefaults]
default_realm = ATHENA.MIT.EDU
- default_tgs_enctypes = des-cbc-crc
- default_tkt_enctypes = des-cbc-crc
- default_keytab_name = FILE:/etc/krb5.keytab
kdc_timesync = 1
ccache_type = 4
[realms]
ATHENA.MIT.EDU = {
# kdc = kerberos-2000.mit.edu
- kdc = kerberos.mit.edu:88
- kdc = kerberos-1.mit.edu:88
- kdc = kerberos-2.mit.edu:88
- kdc = kerberos-3.mit.edu:88
+ kdc = kerberos.mit.edu
+ kdc = kerberos-1.mit.edu
+ kdc = kerberos-2.mit.edu
+ kdc = kerberos-3.mit.edu
admin_server = kerberos.mit.edu
default_domain = mit.edu
}
admin_server = casio.mit.edu
}
MOOF.MIT.EDU = {
- kdc = three-headed-dogcow.mit.edu:88
- kdc = three-headed-dogcow-1.mit.edu:88
+ kdc = three-headed-dogcow.mit.edu
+ kdc = three-headed-dogcow-1.mit.edu
admin_server = three-headed-dogcow.mit.edu
}
CYGNUS.COM = {
}
[domain_realm]
- .mit.edu = ATHENA.MIT.EDU
mit.edu = ATHENA.MIT.EDU
- .media.mit.edu = MEDIA-LAB.MIT.EDU
- media.mit.edu = MEDIA-LAB.MIT.EDU
+ csail.mit.edu = CSAIL.MIT.EDU
[login]
krb4_convert = true