New PAM kbd-int diff

Markus Friedl markus at openbsd.org
Fri Jul 5 00:01:37 EST 2002


On Thu, Jul 04, 2002 at 12:48:47AM +0200, Dag-Erling Smorgrav wrote:
> I really don't understand what you're doing here - it seems you're
> mixing some old FreeBSD code with some newer FreeBSD code, changing it
> here and there, and generally making a mess of it.  I realize that
> this code is quite hairy, but if you have any problems with it all you
> have to do is ask.

well, sometimes you don't get an answer.

> The PAM code in FreeBSD-CURRENT (and -STABLE as of half an hour ago)
> handles multiple passes just fine.  I've attached a diff of selected
> FreeBSD files relative to OpenSSH 3.4p1.  Hope you find it useful.
> The auth2-pam-freebsd.c entirely replaces auth2-pam.c, I just used a
> different name to avoid merge conflicts when upgrading in the future.

i'd prefer it auth2-pam-freebsd.c would not use another method
for sending messages over filedescriptors. other parts of ssh
(sftp-server, monitor) use the standard buffer.c API for sending
messages, see msg.c.

-m



More information about the openssh-unix-dev mailing list