Created attachment 1418 [details] Fixes lastlog on Mac OS X. Attached is a patch for building OpenSSH 4.7p1 on Mac OS X. This patch fixes lastlog on Mac OS X.
This looks reasonable to me, but are there any other platforms with the getlastlogxbyname() API?
A similar patch has been applied - I made it a little less Apple-specific by checking for getlastlogxline and making the expectation of pututxline updating lastlog a per-platform define. This will be in OpenSSH 5.2 - thanks!
Close bugs fixed/reviewed for openssh-5.2 release