Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Daryll Strauss <daryll@d2.com>
Subject: A Couple Glibc/NSS Bugs
Date: Mon, 14 Apr 1997 18:32:46 -0700 (PDT)	[thread overview]
Message-ID: <199704150132.SAA03683@jolt.d2.com> (raw)

My first bug is that the size of the NSS_BUFLEN_GROUP in grp.h is too
small. In our case we have a group with 75 people in it. The 1024 byte
buffer isn't big enough and lots of program die when they attempt to
do getgrpbynam and get back a zero. I doubled the size of that buffer.

The second bug is that if you only use files for gethostbyname it fails
to resolve dotted decimal names. It seems that the dns entry in the
nsswitch.conf does handle dotted decimal, so having both files and dns
listed works fine, because the dns catches it. If you only list files,
then it fails.

Both of these were relatively easy to work around once located, but I
hope I can save someone else the pain of finding them.

							- |Daryll

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

                 reply	other threads:[~1997-04-15  1:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox