Bug 1421 - Fix lastlog on Mac OS X.
Summary: Fix lastlog on Mac OS X.
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Miscellaneous (show other bugs)
Version: 4.7p1
Hardware: Other Mac OS X
: P2 normal
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks: V_5_2
  Show dependency treegraph
 
Reported: 2007-12-21 15:49 AEDT by Disco Vince Giffin
Modified: 2009-02-23 13:35 AEDT (History)
1 user (show)

See Also:


Attachments
Fixes lastlog on Mac OS X. (1022 bytes, patch)
2007-12-21 15:49 AEDT, Disco Vince Giffin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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