[32701] in Kerberos

home help back first fref pref prev next nref lref last post

Re: kdb5_ldap_util does not read kdc.conf

daemon@ATHENA.MIT.EDU (Tom Parker)
Wed Sep 22 17:15:44 2010

Message-ID: <4C9A71F9.1040507@cbnco.com>
Date: Wed, 22 Sep 2010 17:15:37 -0400
From: Tom Parker <tparker@cbnco.com>
MIME-Version: 1.0
To: Greg Hudson <ghudson@mit.edu>
In-Reply-To: <1285189704.20521.563.camel@ray>
Cc: "kerberos@mit.edu" <kerberos@mit.edu>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

  Thanks for the amazingly quick reply.

It likely only affects people doing initial domain setup or 
modification.  Once the kdc is running everything works normally with 
the settings in kdc.conf

It works nicely with the environment variable and I will add this to our 
wiki until the bug is fixed.

Thanks again!

Tom Parker

On 09/22/2010 05:08 PM, Greg Hudson wrote:
> On Wed, 2010-09-22 at 16:59 -0400, Tom Parker wrote:
>> Is this a bug?  Or am I wrong in my assumptions about the two files.
> Without actually trying to duplicate your behavior, just looking at the
> source code, it looks like a bug in the way kdb5_ldap_util initializes
> its krb5 context.  I'm surprised it hasn't come up before.  It should be
> easy to fix.
>
> A workaround is to set
> KRB5_CONFIG=/etc/krb5.conf:/var/lib/kerberos/krb5kdc/kdc.conf while
> running kdb5_ldap_util.
>
>
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post