| United States-English |
|
|
|
![]() |
Kerberos Server Version 3.12 Administrator's Guide: HP-UX 11i v3 > Chapter 5 Configuring the Kerberos Server
With C-Tree BackendConfiguration Files for the Kerberos Server |
|
You must install all the critical Kerberos server files on the system before you start configuring the Kerberos Server. You must configure these files on the primary security server and copy these files to all the secondary security servers on the network. Table 5-1 “Security Server Files That Require Configuration” briefly describes the server files that you need to configure. Table 5-1 Security Server Files That Require Configuration
This chapter contains detailed descriptions of the krb.conf and krb.realms configuration files. If you have opted to configure LDAP as the backend, see “Planning Your LDAP Configuration”. The krb.conf configuration file contains information about the default realm of the host, the administration server, and security servers for known realms. HP recommends that you copy the krb.conf.sample file from the /opt/krb5/examples directory to the /opt/krb5 directory. This file must reside in the /opt/krb5 directory and must have the following permissions:
The configuration file identifies the servers that support authentication for the designated realm, and defines the default realm for the host where the file is stored. The krb.conf file lists the default realm of the host system. It also maps known realms to their primary and secondary security servers by host name, and network location. Assuming that your network environment performs load-balancing and redundancy, you must create multiple versions of the krb.conf file. You must also configure secondary security servers to act as authentication servers. This allows the primary security server to be available for tasks other than authentication. The krb.conf file is used during propagation configuration. The realm specified in the first line of the configuration file is considered as the default realm of the server. This has to be the first realm created in the database containing the K/M principal. Use the format shown below to create an entry in the krb.conf file. See Appendix B “Sample krb.conf File” to see how a sample krb.conf file looks.
The first line of the krb.conf file identifies the host system’s default realm. By convention, realm names are in uppercase letters to visually distinguish them from domain names.
The subsequent lines require fields that identify the security server host names. Each field in the line must be separated by a space or a tab. The second field indicates the Fully Qualified Domain Name (FQDN) of the host security server for that realm. The order of entries in the krb.conf file is important on the client system, because it is used to identify the intended order of redundant security servers. Applications attempting to connect to the security server use this file to read the entries in the listed order. Redundant security servers are used when higher priority security servers are unavailable or when a network timeout has occurred. To create comments, use the hash sign(#). Ignore blank lines, leading or trailing white spaces in a line, and characters after a hash (#) symbol. The krb.realms file defines host-to-realm or domain-to-realm name mapping data. The krb.realms file is located only on Kerberos server systems in the /opt/krb5 directory. The krb.realms file ensures that all systems on the network can identify the other systems that reside in each realm. Because, the realm name is case sensitive, the Kerberos Server looks for a domain name that is in uppercase characters. If you decide to follow the default realm naming convention, the realm names are already in uppercase characters, and you need not configure and maintain the krb.realms file on your client system. Secure applications initially search for a matching host name and then a matching domain name in the krb.realms file. If a match is not found, the application initiates a wildcard match. If no translation entry applies or the file does not exist, the realm name of the host is considered as the domain name of the host’s domain. This domain name is converted to the uppercase equivalent. The krb.realms file must contain sufficient entries to define the realm used by every service a client computer must access. You can create a krb.realms file that contains all the required entries for your enterprise. If you support inter-realm authentication, the krb.realms file must contain the required entries to locate the foreign realms.
Use the format below to add entries in the krb.realms file. See Appendix C “Sample krb.realms File”to see how a sample krb.realms file looks.
You can add entries to the file to identify various translations from host names to realm names. The order of the entries is insignificant. Each entry in the file requires two fields that are separated either by a space or by a tab. The following format is generally used:
To create comments, use the hash sign (#). Any characters after a # sign are ignored. Blank lines and any leading or trailing white spaces in a line are also ignored. To identify multiple hosts that belong to the same realm in a single entry, use one of the wildcard characters described in Table 5-2 “Wildcard Characters”. Table 5-2 Wildcard Characters
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||