Subject: Re: Using KerberosIV in -current?
To: None <seebs@plethora.net>
From: Phillip Rulon <pjr@gnu.org>
List: netbsd-help
Date: 03/10/2000 14:29:10
   From: seebs@plethora.net (Peter Seebach)
   Reply-To: seebs@plethora.net (Peter Seebach)
   Date: Fri, 10 Mar 2000 11:40:37 -0600
   Sender: netbsd-help-owner@netbsd.org
   Precedence: list
   Delivered-To: netbsd-help@netbsd.org

   So, I have a handful of very happy K4 boxes, and I'm trying to get my
   NetBSD-current system to interoperate with them.

   I get:

   kinit: Cannot contact any KDC for requested realm while getting initial credentials

   What's that mean?  My krb5.conf says:

   [realms]
	   PLETHORA.NET = {
		   kdc = herd.PLETHORA.NET
		   admin_server = herd.PLETHORA.NET
		   default_domain = PLETHORA.NET
	   }

If you're running K5 on the box in question (hence /etc/krb5.conf) you might try
including:

[realms]
	PLETHORA.NET = {
		kdc = herd.plethora.net			(no need to capitalize these)
		admin_server = herd.plethora.net
		default_domain = PLETHORA.NET
	}

[login]
	krb4_convert = true
	krb4_get_tickets = true

[libdefaults]
	.
	.
	.
	krb4_config = /etc/athena/krb.conf
	krb4_realms = /etc/athena/krb.realms
	.
	.



   I compiled with
	   KERBEROS=       4

The default build options for K5 include K4 support so this shouldn't
matter.

Hope this helps,

pjr