Problem with GID mapping - RHEL 5.0

Ole Bjørn Hessen obh at telenor.net
Tue Mar 11 18:44:12 EDT 2008


> Do your groups have lots of members?

Our largest group has about 445 members. There are some other large
groups.

> Does this mean you are using libnfsidmap-0.20? 

Not sure about that - when I compile the newest source code from
libnfsidmap-0.20 the library file libnfsidmap.so.0.2.0 is created. The
file nss.c in the source code seems to be updated feb 5 2007. Do I have
the latest source code?

On standard RHEL 5.0 the following file exists:
44 -rwxr-xr-x 1 root root 40120 Sep 27 01:10 /usr/lib64/libnfsidmap.so.0.2.0*

My guess should be that RHEL 5.0 should have the latest libnfsidmap
library as the source.

-

I tried the following stunt: I moved the group "toffer" in front of the
large groups. Voila! The mapping got it right! So there must be a bug
in the /etc/group parsing!

Next, I tried move away the /usr/lib64/libnfsidmap.so.0.2.0 and move in
the compiled library from the libnfsidmap-0.20 source code. Voila! The
mapping is correct.

-

But why does RHEL 5.0 name the library libnfsidmap.so.0.2.0 and the
latest source code also names the library libnfsidmap.so.0.2.0 when
they are obviously not the same thing!

Ole Bjørn Hessen,
Telenor


"Kevin Coffman" <kwc at citi.umich.edu> writes:

> On 11 Mar 2008 15:13:23 +0100, Ole Bjørn Hessen <obh at telenor.net> wrote:
> >
> >  > > By the way: The file NEWS in libnfsidmap-0.20 is from 2004 and says
> >  > >
> >  > >     Doesn't work yet.
> >  > Thanks for pointing this out...
> >
> >  Sure. So it _should_ work ? :-)
> 
> Yes, it should work.  I will fix the NEWS file in the next release.
> 
> Does this mean you are using libnfsidmap-0.20?  I seem to recall there
> was a problem with large groups, but it should be fixed in -0.20.
> 
> Do your groups have lots of members?
> 
> K.C.


More information about the NFSv4 mailing list