[39044] in Kerberos

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

Re: Debugging why KRB5_KTNAME isn't working

daemon@ATHENA.MIT.EDU (Ken Hornstein via Kerberos)
Thu Jan 27 13:07:51 2022

Message-ID: <202201271803.20RI3uW0023229@hedwig.cmf.nrl.navy.mil>
To: "Brian J. Murrell" <brian@interlinx.bc.ca>
cc: kerberos@mit.edu
In-Reply-To: <4f4a71e295df1a7aa4e53475af50164af7cbe86a.camel@interlinx.bc.ca>
MIME-Version: 1.0
Date: Thu, 27 Jan 2022 13:03:56 -0500
From: Ken Hornstein via Kerberos <kerberos@mit.edu>
Reply-To: Ken Hornstein <kenh@cmf.nrl.navy.mil>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

>I am trying to debug why having KRB5_KTNAME set in the environment of a
>process is not actually making that process use that keytab file but
>instead is using the default /etc/krb5.keytab.
>
>The process is Postfix's SMTP deamon (smtpd).
>[...]
>Any thoughts/ideas?

Is it possible Postfix is clearing out the environment at startup?  I'm
a little unclear if the "environ" file in proc shows the _current_
environment or just the environment at process start (a very brief
test suggests to me that "environ" contains the environment at process
start and modification of the current environment isn't reflected there,
so if Postfix was resetting the environment you wouldn't know it).

--Ken
________________________________________________
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