Bug 1421

Summary: Fix lastlog on Mac OS X.
Product: Portable OpenSSH Reporter: Disco Vince Giffin <vgiffin>
Component: MiscellaneousAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: normal CC: djm
Priority: P2    
Version: 4.7p1   
Hardware: Other   
OS: Mac OS X   
Bug Depends on:    
Bug Blocks: 1481    
Attachments:
Description Flags
Fixes lastlog on Mac OS X. none

Description Disco Vince Giffin 2007-12-21 15:49:37 AEDT
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.
Comment 1 Damien Miller 2009-01-21 16:41:57 AEDT
This looks reasonable to me, but are there any other platforms with the getlastlogxbyname() API?
Comment 2 Damien Miller 2009-02-12 13:42:27 AEDT
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!
Comment 3 Damien Miller 2009-02-23 13:35:43 AEDT
Close bugs fixed/reviewed for openssh-5.2 release