[PATCH] nss: Compare hostname case insensitive

Martin Kletzander mkletzan at redhat.com
Fri May 27 11:42:38 UTC 2022


On Fri, May 27, 2022 at 11:06:46AM +0200, Michal Privoznik wrote:
>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 at redhat.com>

Reviewed-by: Martin Kletzander <mkletzan at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20220527/83424241/attachment.sig>


More information about the libvir-list mailing list