Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2013 15:17:03 +0400
From:      Slawa Olhovchenkov <slw@zxy.spb.ru>
To:        freebsd-security@FreeBSD.org
Cc:        des@des.no
Subject:   Re: OpenSSH, PAM and kerberos
Message-ID:  <20130829111703.GB3371@zxy.spb.ru>
In-Reply-To: <20130829004844.GA70584@zxy.spb.ru>
References:  <20130829004844.GA70584@zxy.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 29, 2013 at 04:48:44AM +0400, Slawa Olhovchenkov wrote:

> I am try to setup single sign-on and found this is imposuble due to
> bug in OpenSSH: currently sshd do pam_authenticate() and
> pam_acct_mgmt() from child process, but pam_setcred() from paren
> proccess. pam_krb5 in pam_sm_setcred() required information from
> pam_sm_authenticate and can't work corretly (can't create
> /tmp/krb5cc_NNNN, can't set envirompent KRB5CCNAME and so).
> 
> In logs/debugs this is as 
> 
> openpam_dispatch(): pam_krb5.so: pam_sm_setcred(): failed to retrieve user credentials

As I see, similar bug open in upstream from 2003: https://bugzilla.mindrot.org/show_bug.cgi?id=688



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