bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nscd and large group problem...


From: John R. Hover
Subject: Re: nscd and large group problem...
Date: Sat, 23 Mar 2002 00:26:21 +1200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020212

John R. Hover wrote:
Ulrich Drepper wrote:

On Thu, 2002-03-21 at 21:24, John R. Hover wrote:

Nscd, (or at least nscd on RedHat) fails upon an 'ls -l' on a directory with files owned by a group with a large number of users (in this case 2800),


Try the appended patch.  It should without major problems apply to the
2.2.4 sources you have even though it's from the mainline source tree.


<patch snipped>

Thanks for the attempt, but one hunk failed. I tried against the Redhat glibc source and downloaded 2.2.4 from ftp.gnu.org. Same result in each case.

Unfortunately, while I know my way around compiling & patch, I don't think I know enough to get into manually applying the rejects. If it's any consolation, I'm starting a B.Sc. in Compsci next month. :-)

address@hidden glibc-2.2.4]# patch -p0 <../glibc-2.2.4-d-nscd-size.patch
patching file nscd/grpcache.c
Hunk #6 FAILED at 277.
Hunk #7 succeeded at 297 (offset -10 lines).
1 out of 7 hunks FAILED -- saving rejects to file nscd/grpcache.c.rej
patching file nscd/hstcache.c
patching file nscd/pwdcache.c
Hunk #6 FAILED at 279.
Hunk #7 succeeded at 293 (offset -10 lines).
1 out of 7 hunks FAILED -- saving rejects to file nscd/pwdcache.c.rej


Any ideas?

Cheers,

--john


Thanks to a subsequent fix, i.e. a couple files to drop into the glibc source, we now have a glibc/nscd-2.2.4 that handles large groups with aplomb. This was really important for us since it lets us use pam_listfile to restrict logins by group membership in LDAP.

Many thanks for the quick help, Ulrich.

Cheers,

--john






reply via email to

[Prev in Thread] Current Thread [Next in Thread]