Was fixed in krb5-1.2.3 by using openpty() from libutil when available.