* A Couple Glibc/NSS Bugs
@ 1997-04-15 1:32 Daryll Strauss
0 siblings, 0 replies; only message in thread
From: Daryll Strauss @ 1997-04-15 1:32 UTC (permalink / 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-04-15 1:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-04-15 1:32 A Couple Glibc/NSS Bugs Daryll Strauss
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox