~ubuntu-branches/ubuntu/maverick/krb5/maverick

« back to all changes in this revision

Viewing changes to doc/krb5-admin/Getting-DNS-Information-Correct.html

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hartman, Russ Allbery, Sam Hartman
  • Date: 2008-08-21 10:41:41 UTC
  • mfrom: (11.1.15 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080821104141-a0f9c4o4cpo8xd0o
Tags: 1.6.dfsg.4~beta1-4
[ Russ Allbery ]
* Translation updates:
  - Swedish, thanks Martin Bagge.  (Closes: #487669, #491774)
  - Italian, thanks Luca Monducci.  (Closes: #493962)

[ Sam Hartman ]
* Translation Updates:
    - Dutch, Thanks Vincent Zweije, Closes: #495733

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html lang="en">
2
 
<head>
3
 
<title>Kerberos V5 System Administrator's Guide</title>
4
 
<meta http-equiv="Content-Type" content="text/html">
5
 
<meta name="description" content="Kerberos V5 System Administrator's Guide">
6
 
<meta name="generator" content="makeinfo 4.5">
7
 
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home">
8
 
</head>
9
 
<body>
10
 
<div class="node">
11
 
<p>
12
 
Node:<a name="Getting%20DNS%20Information%20Correct">Getting DNS Information Correct</a>,
13
 
Next:<a rel="next" accesskey="n" href="Configuring-Your-Firewall-to-Work-With-Kerberos-V5.html#Configuring%20Your%20Firewall%20to%20Work%20With%20Kerberos%20V5">Configuring Your Firewall to Work With Kerberos V5</a>,
14
 
Previous:<a rel="previous" accesskey="p" href="Clock-Skew.html#Clock%20Skew">Clock Skew</a>,
15
 
Up:<a rel="up" accesskey="u" href="Application-Servers.html#Application%20Servers">Application Servers</a>
16
 
<hr><br>
17
 
</div>
18
 
 
19
 
<h3 class="section">Getting DNS Information Correct</h3>
20
 
 
21
 
<p>Several aspects of Kerberos rely on name service.  In order for Kerberos
22
 
to provide its high level of security, it is less forgiving of name
23
 
service problems than some other parts of your network.  It is important
24
 
that your Domain Name System (DNS) entries and your hosts have the
25
 
correct information.
26
 
 
27
 
<p>Each host's canonical name must be the fully-qualified host name
28
 
(including the domain), and each host's IP address must reverse-resolve
29
 
to the canonical name.
30
 
 
31
 
<p>Other than the <code>localhost</code> entry, make all entries in each
32
 
machine's <code>/etc/hosts</code> file in the following form:
33
 
 
34
 
<pre class="smallexample">     IP address      fully-qualified hostname        aliases
35
 
     </pre>
36
 
 
37
 
<p>Here is a sample <code>/etc/hosts</code> file:
38
 
 
39
 
<pre class="smallexample">     # this is a comment
40
 
     127.0.0.1       localhost localhost@mit.edu
41
 
     10.0.0.6       daffodil.mit.edu trillium wake-robin
42
 
     </pre>
43
 
 
44
 
<p>Additionally, on Solaris machines, you need to be sure the "hosts"
45
 
entry in the file <br> <code>/etc/nsswitch.conf</code> includes the source
46
 
"dns" as well as "file".
47
 
 
48
 
<p>Finally, each host's keytab file must include a host/key pair for the
49
 
host's canonical name.  You can list the keys in a keytab file by
50
 
issuing the command <code>klist -k</code>.  For example:
51
 
 
52
 
<pre class="smallexample">     viola# klist -k
53
 
     Keytab name: /etc/krb5.keytab
54
 
     KVNO Principal
55
 
     ---- ------------------------------------------------------------
56
 
        1 host/daffodil.mit.edu@ATHENA.MIT.EDU
57
 
     </pre>
58
 
 
59
 
<p>If you telnet to the host with a fresh credentials cache (ticket file),
60
 
and then <code>klist</code>, the host's service principal should be
61
 
<i>host/fully-qualified-hostname@REALM_NAME</i>.
62
 
 
63
 
</body></html>
64