libvirt/tools/nss
Michal Privoznik 7f463b4c0d nss: Compare hostname case insensitive
There are some tools that convert hostname to lowercase before
resolving it (e.g. ssh). In a way it makes sense because DNS is
case insensitive and in case of ssh the lowercase version is then
used to find matching record in its config file. However, our NSS
module performs case sensitive comparison, which makes it useless
with ssh. Just consider a machine named FooBar.

Therefore, switch to case insensitive string comparison.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1777873
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
2022-05-27 13:43:14 +02:00
..
libvirt_guest_nss.syms
libvirt_nss_bsd.syms
libvirt_nss_leases.c nss: Compare hostname case insensitive 2022-05-27 13:43:14 +02:00
libvirt_nss_leases.h
libvirt_nss_macs.c nss: Compare hostname case insensitive 2022-05-27 13:43:14 +02:00
libvirt_nss_macs.h
libvirt_nss.c Don't call qsort() over NULL 2021-06-14 14:16:44 +02:00
libvirt_nss.h
libvirt_nss.syms
meson.build meson: Don't attempt to use version scripts on macOS 2022-05-06 11:12:48 +02:00