[30575] in Kerberos
Re: Same config as server: kinit(v5): Improper format of Kerberos
daemon@ATHENA.MIT.EDU (Ken Raeburn)
Mon Dec 22 13:27:13 2008
From: Ken Raeburn <raeburn@mit.edu>
To: Mathew Rowley <mathew_rowley@cable.comcast.com>
In-Reply-To: <C5751729.526F%mathew_rowley@cable.comcast.com>
Message-Id: <EA223469-431F-4C2A-8F25-98396840822B@mit.edu>
Mime-Version: 1.0 (Apple Message framework v930.3)
Date: Mon, 22 Dec 2008 13:26:52 -0500
Cc: "kerberos@mit.edu" <kerberos@mit.edu>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu
On Dec 22, 2008, at 12:06, Mathew Rowley wrote:
> I am trying to set up a server for kerberos authentication, but when
> I copy
> my krb5.conf file over to the server, I get the following error
> while trying
> to do a kinit:
>
> kinit(v5): Improper format of Kerberos configuration file while
> initializing
> Kerberos 5 library
>
> The only difference I can see is the versions installed on the
> kerberos
> server vs the secondary server. The kerberos server has 1.6.1, and
> the
> machine I want to use krb based auth has 1.4.3. Will that cause this
> error
> to occur? This is the krb5.conf file:
I didn't recall this on first reading your message, but after a little
experimentation it looks like we did have a minor syntax change
somewhere between 1.4.3 and 1.6.1 -- in the older code, a comment had
to have the "#" at the start of the line, and now there can be
whitespace in front of it. Just remove the leading whitespace from
those comment lines and all should be fine (though I think 1.4.3
predates the DAL and LDAP support, so you could just drop that section
altogether).
Ken
________________________________________________
Kerberos mailing list Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos