Strong Auth Index Page | Presentation Outline |
PREV NEXT

The Kerberos Configuration File: krb5.conf


About krb5.conf

What does krb5.conf control?

[libdefaults]
sets defaults for Kerberos on your system, e.g., default realm, default ticket lifetime
[realms]
tells where to find the KDCs for each realm
[instancemapping]
maps client principal properly (for things like cron jobs which require a special principal)
[domain_realm]
maps domains to realms
[logging]
tells Kerberos where and how to log errors
[appdefaults]
lists default settings for outgoing Kerberized network connection applications and for incoming portal mode connections (see below)

Let's look at [appdefaults]

Default values it sets include:

The initial list contains default settings for supported network connection programs:

default_lifetime=7d
retain_ccache=false
autologin=true
forward=true
renewable=true
encrypt=true
krb5_aklog_path=/usr/krb5/bin/aklog

Next it lists application-specific default settings that override those in above list:

telnet={
}

rcp={
encrypt=false
allow_fallback=true
}

rsh={
allow_fallback=true
}

rlogin={
allow_fallback=false
}

login is invoked for incoming connections by telnetd (not telnet), sshd (not ssh), and CRYPTOCard logins. It may be invoked by the OS for a local (console) login.

login={
forwardable=true
krb5_run_aklog=true
krb5_get_tickets=true
krb4_get_tickets=false
krb4_convert=false
}

kinit={
forwardable=true
krb5_run_aklog=true
}

A number of applications on Linux use authentication checks via the PAM libraries. To enable this, you need to include the following pam entry:

pam={
forwardable=true
}

rshd={
krb5_run_aklog=true
}

The ticket lifetime listed under ftpd is only invoked for incoming CRYPTOCard (nonKerberized) FTP access.

ftpd={
krb5_run_aklog=true
default_lifetime=6h
}

Command line arguments can be used to override default values set in [appdefaults].


PREV NEXT