Error with USE_POSIX_THREADS and OpenSSH-3.8p1

Darren Tucker dtucker at zip.com.au
Tue May 4 20:28:02 EST 2004


Kumaresh wrote:

> This is not the case with
> OpenSSH-3.7.1p2. It works when USE_POSIX_THREADS is enabled.But, 3.8p1
> closed with this error in the server side.
> debug3: pam_password_change_required 0
> debug3: PAM: num env strings 0
> buffer_get: trying to get more bytes 4 than in buffer 0

This is already fixed in 3.8.1p1.

 > debug1: Allocating pty.
 > openpty: Bad file number

I don't know why openpty() is failing.  Does the same thing happen with 
3.8.1p1?

> Anybody else tried USE_POSIX_THREADS in OpenSSH-3.8p1 and PAM-unix in
> trusted mode.

I've never tried that.

> +         if ((cp = getenv("KRB5CCNAME")) != NULL) {
> +                child_set_env(&env, &envsize, "KRB5CCNAME", cp);
> +                copy_environment(&cp, &env, &envsize);

Since we're now clearing KRB5CCNAME when sshd starts, I'm wondering if 
we should just move the existing KRB5CCNAME block from inside the #ifdef 
_AIX block and run it for all platforms.  That way any platform that 
sets it will copy it to the child, but any that don't (which should be 
most of them) will not.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.




More information about the openssh-unix-dev mailing list