[5323] in testers

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

Re: Inconsistent handling of KRBTKFILE/KRB5CCNAME by openssh

daemon@ATHENA.MIT.EDU (Greg Hudson)
Mon Apr 28 13:55:38 2003

Date: Mon, 28 Apr 2003 13:51:15 -0400
Message-Id: <200304281751.h3SHpFaW015659@error-messages.mit.edu>
From: Greg Hudson <ghudson@MIT.EDU>
To: Greg Hudson <ghudson@mit.edu>
CC: testers@mit.edu
In-reply-to: <200304281657.h3SGvSBY013494@error-messages.mit.edu>

> Hm, that's odd.  I think my KRBTKFILE is not being inherited from
> the client; it's just getting set to /tmp/tkt_pts_0 by both xlogin
> and sshd, even though the ssh session gets some other pty like
> /dev/pts/6.

Okay, it's relevant that my sshd was started from an su session, not
at boot time.  I think the culprit is this code excerpt (which is a
local mod):

	/*
	 * XXX something bad might happen if you did Krb4 at the same time...
	 */
	if ((cp = getenv("KRBTKFILE")) != NULL)
		child_set_env(&env, &envsize, "KRBTKFILE", cp);

I don't know what this is trying to accomplish.

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