Re: OpenSSH, PAM and kerberos

2013-08-30 Thread Slawa Olhovchenkov
On Fri, Aug 30, 2013 at 02:51:44PM +0200, Dag-Erling Sm??rgrav wrote: > Slawa Olhovchenkov writes: > > Dag-Erling Sm??rgrav writes: > > > PAM authentication in OpenSSH was broken for non-trivial cases when > > > privilege separation was implemented. Fixing it properly would be > > > very diffic

Re: OpenSSH, PAM and kerberos

2013-08-30 Thread Dag-Erling Smørgrav
Slawa Olhovchenkov writes: > Dag-Erling Smørgrav writes: > > PAM authentication in OpenSSH was broken for non-trivial cases when > > privilege separation was implemented. Fixing it properly would be > > very difficult. > Same behaviour with 'UsePrivilegeSeparation no'. This issuse not in > priv

Re: OpenSSH, PAM and kerberos

2013-08-30 Thread Slawa Olhovchenkov
On Fri, Aug 30, 2013 at 02:09:26PM +0400, Slawa Olhovchenkov wrote: > On Fri, Aug 30, 2013 at 09:44:54AM +0200, Dag-Erling Sm??rgrav wrote: > > > Slawa Olhovchenkov writes: > > > I am try to setup single sign-on and found this is imposuble due to > > > bug in OpenSSH: currently sshd do pam_authe

Re: OpenSSH, PAM and kerberos

2013-08-30 Thread Slawa Olhovchenkov
On Fri, Aug 30, 2013 at 09:44:54AM +0200, Dag-Erling Sm??rgrav wrote: > Slawa Olhovchenkov writes: > > 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 pa

Re: OpenSSH, PAM and kerberos

2013-08-30 Thread Dag-Erling Smørgrav
Slawa Olhovchenkov writes: > 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