krb.conf(4) manual page
Table of Contents
krb.conf - Kerberos configuration file
/etc/krb.conf
krb.conf contains configuration information describing the Kerberos
realm and the Kerberos key distribution center (KDC) servers for known
realms.
krb.conf contains the name of the local realm in the first line,
followed by lines indicating realm/host entries. The first token is a realm
name, and the second is the hostname of a host running a KDC for that realm.
There can be multiple lines for a given realm; the servers are tried in
order until an active one is found. The words admin server following the
hostname indicate that the host also provides an administrative database
server. For example:
- ATHENA.MIT.EDUATHENA.MIT.EDU kerberos-1.mit.edu admin serverATHENA.MIT.EDU kerberos-2.mit.eduLCS.MIT.EDU
kerberos.lcs.mit.edu admin serverThe
- Kerberos configuration information can
also be supplied using the krb.conf NIS map. If /etc/krb.conf is not found
(or the requested information is not found in it), and the system is running
NIS, then the information will be obtained from the NIS map. If neither
the file nor the NIS map are found, then the Kerberos library will use
the domainname (as returned by domainname(1M)
) as the Kerberos realm, and
the host kerberos as the location of the KDC. There is no default for the
admin server.
Note that every time krb.conf is modified, kerbd(1M)
needs
to be restarted.
domainname(1M)
, kerbd(1M)
, ypmake(1M)
, krb.realms(4)
There is no NIS+
support yet for the krb.conf map.
Table of Contents