6.4.8 Creating Kerberos Service Principals
So far, only user credentials have been discussed. However, Kerberos-compatible ser-
vices usually need to authenticate themselves to the client user, too. Therefore, special
service principals must be present in the Kerberos database for each service offered in
the realm. For example, if ldap.example.com offers an LDAP service, you need a service
principal,
ldap/[email protected]
, to authenticate this service
to all clients.
The naming convention for service principals is
service
/
hostname
@
REALM
, where
hostname
is the host's fully qualified hostname.
Valid service descriptors are:
Service
Service Descriptor
Telnet, RSH, SSH
host
NFSv4 (with Kerberos support)
nfs
HTTP (with Kerberos authentication)
HTTP
IMAP
imap
POP3
pop
LDAP
ldap
Service principals are similar to user principals, but have significant differences. The
main difference between a user principal and a service principal is that the key of the
former is protected by a password—when a user obtains a ticket-granting ticket from
the KDC, he needs to type his password so Kerberos can decrypt the ticket. It would
be quite inconvenient for the system administrator if he had to obtain new tickets for
the SSH daemon every eight hours or so.
Instead, the key required to decrypt the initial ticket for the service principal is extracted
by the administrator from the KDC once and stored in a local file called the keytab.
102
Security Guide
Summary of Contents for LINUX ENTERPRISE DESKTOP 11
Page 1: ...SUSE Linux Enterprise Server www novell com 11 March 17 2009 Security Guide...
Page 9: ...32 7 Managing Audit Event Records Using Keys 433 33 Useful Resources 435...
Page 10: ......
Page 29: ...Part I Authentication...
Page 30: ......
Page 55: ...Figure 4 2 YaST LDAP Server Configuration LDAP A Directory Service 41...
Page 126: ......
Page 127: ...Part II Local Security...
Page 128: ......
Page 158: ......
Page 173: ...Part III Network Security...
Page 174: ......
Page 194: ......
Page 197: ...Figure 16 2 Scenario 2 Figure 16 3 Scenario 3 Configuring VPN Server 183...
Page 210: ......
Page 228: ......
Page 229: ...Part IV Confining Privileges with Novell AppArmor...
Page 230: ......
Page 274: ......
Page 300: ......
Page 328: ......
Page 340: ......
Page 342: ......
Page 386: ......
Page 387: ...Part V The Linux Audit Framework...
Page 388: ......