Debian Patches

Status for bsd-finger/0.17-17

Patch Description Author Forwarded Bugs Origin Last update
01-legacy.patch no
02-518559-nsswitch-sources.patch http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=518559

Doesn't work with a non-iterable nsswitch source

Currently, "finger tabbott" works by iterating through the list of users
on the system using getpwent and checking if any of them match "tabbott".

Some nsswitch backends (including Hesiod and LDAP[1]) do not support
iterating through the complete list of users. These nsswitch backends
instead only fully support looking up a user's information by username or
uid.

So, if tabbott is a user whose nsswitch information comes from LDAP, then
"finger tabbott" will incorrectly report "finger: tabbott: no such user."
"finger -m tabbott" does work correctly, however, because it looks up the
matching username using getpwnam.

A fix for this is to always look up an argument to finger for a username
match, and having -m only control whether finger searches the entire user
database for real name matches. Patch attached.

This patch has the advantageous side effect that if there are some real
name matches and a username match, finger will always display the username
match first (rather than in some random place in the list).

-Tim Abbott

[1] with LDAP, it is typically the case that one can iterate through only
the first 100 results from a query.

Tim Abbott <tabbott@MIT.EDU>

commit ab0b4e09b1281a11587fd0f9797e612cfb08ef57

Add support for non-iterable nsswitch sources.

Signed-off-by: Timothy G Abbott <tabbott@mit.edu>
Timothy G Abbott <tabbott@mit.edu> no 2009-03-06
03-468454-fingerd-ipv6.patch Implement IPv6 capacity for the server Fingerd. Mats Erik Andersson <debian@gisladisker.se> no 2010-02-09
04-468454-finger-ipv6.patch Implement IPv6 capability for the client Finger. Mats Erik Andersson <debian@gisladisker.se> no
05-547014-netgroup.patch http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=547014


finger segfaults when it comes across a netgroup entry in /etc/passwd.
A netgroup entry doesn't include many of the fields in a normal passwd
entry, so pw->pw_gecos is set to NULL, which causes finger to core
dump.

Here is part of a /etc/passwd file with a netgroup entry:

nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
+@operator

This patch sidesteps what finger considers a malformed passwd entry:
"Matthew A. Dunford" <mdunford@lbl.gov> no
06-572211-decrease-timeout.patch Decrease timeout length during connect(). In cases where a name server is answering with A as well as AAAA records,
but the system to be queried has lost a corresponding address, the TCP
handshake timeout will cause a long delay before allowing the query of
the next address family, or the next address in general.
.
The use of a trivial signal handler for SIGALRM allows the reduction
of this timeout, thus producing better responsiveness for the interactive
user of the Finger service.
Mats Erik Andersson <debian@gisladisker.se> no
use-cmake-as-buildsystem.patch Use cmake as build system https://bugs.debian.org/873085
https://bugs.debian.org/912121
Christoph Biedl <debian.axhn@manchmal.in-ulm.de> no debian 2018-11-25
use-cmake-as-buildsystem-debian-extras.patch Debian-specific changes to the cmake build system Christoph Biedl <debian.axhn@manchmal.in-ulm.de> not-needed 2018-11-25
fix-fingerd-man-typo.patch Fix typo at fingerd man page Josue Ortega <josue@debian.org> no 2019-05-11

All known versions for source package 'bsd-finger'

Links