des at des.no
Wed Jul 9 12:10:19 PDT 2003
The following reply was made to PR bin/53560; it has been noted by GNATS.
From: des at des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=)
To: freebsd-gnats-submit at freebsd.org
Subject: Re: bin/53560
Date: Wed, 09 Jul 2003 20:59:55 +0200
There is no point in trying to fix this in pam_lastlog(8) since there
is no guarantee that getaddrinfo(3) will return an address at all,
much less the correct address. The correct fix is to modify the
application so it passes the IP address (obtained from accept(2) or
getpeername(2)) to PAM instead of the host name.
Dag-Erling Sm=F8rgrav - des at des.no
More information about the freebsd-bugs