Skip site navigation (1)Skip section navigation (2)
Date:      04 Feb 2002 17:41:27 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Takanori Saneto <sanewo@ba2.so-net.ne.jp>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libpam/modules/pam_ssh pam_ssh.c
Message-ID:  <xzpk7ttnqrs.fsf@flood.ping.uio.no>
In-Reply-To: <200202041620.g14GK5R06184@muse.sanewo.dyn.to>
References:  <200201241726.g0OHQSN97700@freefall.freebsd.org> <200202041620.g14GK5R06184@muse.sanewo.dyn.to>

next in thread | previous in thread | raw e-mail | index | archive | help
Takanori Saneto <sanewo@ba2.so-net.ne.jp> writes:
> This commit seems to make xdm fail to communicate with ssh-agent.
> 
> In pam_ssh.so, communication socket with ssh-agent is obtained by
> ssh_get_authentication_connection, which requires specific information
> (SSH_AGENT_xxx) should be in the process's environment.

Ah, that's why that putenv() was there.  I'd say libssh is broken;
there should be a way to pass ssh-agent parameters explicitly to
ssh_get_authentication_connection(), rather than through the
environment.  Your patch is a hack, but a good one.  Thank you.

DES
-- 
Dag-Erling Smorgrav - des@ofug.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpk7ttnqrs.fsf>