summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>1999-09-08 22:17:46 +0000
committerKen Raeburn <raeburn@mit.edu>1999-09-08 22:17:46 +0000
commit666886ac086d7cb664adfa0b46c59ca5aca0b577 (patch)
tree60bd5d005d3ac429285cbf2441c0b3ec03e03925 /doc
parenta61b0b50eb963a1e2f1ad11a858ee83da29ccd6a (diff)
downloadkrb5-666886ac086d7cb664adfa0b46c59ca5aca0b577.tar.gz
krb5-666886ac086d7cb664adfa0b46c59ca5aca0b577.tar.xz
krb5-666886ac086d7cb664adfa0b46c59ca5aca0b577.zip
alexis mac os x updates from 1.1 branch
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11789 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'doc')
-rw-r--r--doc/ChangeLog5
-rw-r--r--doc/install.texinfo90
2 files changed, 59 insertions, 36 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 6cf413b9d4..f11f0024be 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,8 @@
+1999-09-08 Ken Raeburn <raeburn@mit.edu>
+
+ * install.texinfo (Mac OS X Configuration): Revised text from
+ Alexis, with more explanations of what's going on.
+
1999-09-07 Ken Raeburn <raeburn@mit.edu>
* definitions.texinfo: Update for 1.1 release.
diff --git a/doc/install.texinfo b/doc/install.texinfo
index c388cd0a8a..a3216ba2b8 100644
--- a/doc/install.texinfo
+++ b/doc/install.texinfo
@@ -1050,7 +1050,7 @@ counterparts
@c @code{from}
@code{su}, @code{passwd}, and @code{rdist}.
-@node Client Machine Configuration Files, MacOS X Configuration, Client Programs, Installing and Configuring UNIX Client Machines
+@node Client Machine Configuration Files, Mac OS X Configuration, Client Programs, Installing and Configuring UNIX Client Machines
@subsection Client Machine Configuration Files
Each machine running Kerberos must have a @code{/etc/krb5.conf} file.
@@ -1096,43 +1096,20 @@ to switch the port number for @code{kerberos} to 750 and create a
V4 KDC(s) will continue to work properly.
@menu
-* MacOS X Configuration::
+* Mac OS X Configuration::
@end menu
-@node MacOS X Configuration, , Client Machine Configuration Files, Client Machine Configuration Files
-@subsubsection MacOS X Configuration
+@node Mac OS X Configuration, , Client Machine Configuration Files, Client Machine Configuration Files
+@subsubsection Mac OS X Configuration
-To install Kerberos V on MacOS X, follow the directions for generic
-Unix-based OS's, except for the @code{/etc/services} updates described
-above. Then, you must reconfigure your name resolver to return fully
-qualified domain names (FQDNs). To see if your system is already
-correctly configured, compile the Kerberos code, and run:
+To install Kerberos V5 on Mac OS X and Mac OS X Server, follow the
+directions for generic Unix-based OS's, except for the
+@code{/etc/services} updates described above.
-@smallexample
-@group
-$ cd .../src/tests/resolve
-$ ./resolve
-@end group
-@end smallexample
-
-This will tell you whether or not your machine returns FQDNs on name
-lookups. If the test fails, run the following commands to fix things:
-
-@smallexample
-@group
-$ niutil -create . /locations/lookupd/hosts
-$ niutil -createprop . /locations/lookupd/hosts LookupOrder CacheAgent DNSAgent
- NIAgent NILAgent
-@end group
-@end smallexample
-
-Unfortunately, as of release time, the machine must be rebooted for the
-changes to take effect. When the machine comes back up, run the test
-again to make sure things are fixed.
-
-Now, service entries must be created for the Kerberos-based servers.
-@code{/etc/services} is meaningless on MacOS X, so the following
-commands must be run instead:
+Mac OS X and Mac OS X Server use a database called NetInfo to store
+the contents of files normally found in @code{/etc}. Instead of
+modifying @code{/etc/services}, you should run the following commands
+to add the Kerberos service entries to NetInfo:
@smallexample
@group
@@ -1161,9 +1138,50 @@ $ niutil -createprop . /services/kshell protocol tcp
@end group
@end smallexample
-The remainder of the setup of a MacOS X client machine or application
-server should be the same as for other UNIX-based systems.
+In addition to adding services to NetInfo, you must also modify the
+resolver configuration in NetInfo so that the machine resolves its own
+hostname as a FQDN (fully qualified domain name). By default, Mac OS X
+and Mac OS X Server machines query NetInfo to resolve hostnames before
+falling back to DNS. Because NetInfo has an unqualified name for all
+the machines in the NetInfo database, the machine's own hostname will
+resolve to an unqualified name. Kerberos needs a FQDN to look up keys
+in the machine's keytab file.
+
+Fortunately, you can change the @code{lookupd} caching order to query
+DNS first. Run the following NetInfo commands and reboot the machine:
+@smallexample
+@group
+$ niutil -create . /locations/lookupd/hosts
+$ niutil -createprop . /locations/lookupd/hosts LookupOrder CacheAgent DNSAgent
+ NIAgent NILAgent
+@end group
+@end smallexample
+
+Once you have rebooted, you can verify that the resolver now behaves
+correctly. Compile the Kerberos 5 distribution and run:
+
+@smallexample
+@group
+$ cd .../src/tests/resolve
+$ ./resolve
+@end group
+@end smallexample
+
+This will tell you whether or not your machine returns FQDNs on name
+lookups. If the test still fails, you can also try turning off DNS
+caching. Run the following commands and reboot:
+
+@smallexample
+@group
+$ niutil -create . /locations/lookupd/hosts
+$ niutil -createprop . /locations/lookupd/hosts LookupOrder DNSAgent
+ CacheAgent NIAgent NILAgent
+@end group
+@end smallexample
+
+The remainder of the setup of a Mac OS X client machine or application
+server should be the same as for other UNIX-based systems.
@node UNIX Application Servers, , Installing and Configuring UNIX Client Machines, Installing Kerberos V5
@section UNIX Application Servers