NFSv4 + Kerberos + users
Kevin Coffman
kwc at citi.umich.edu
Tue Jun 19 15:22:52 EDT 2007
On 6/19/07, Zoltan Menyhart <Zoltan.Menyhart at bull.net> wrote:
> Kevin Coffman wrote:
>
> > I downloaded and un-tarred your code and ran a.out and the call to
> > authgss_create_default() fails, but I don't see the memory corruption
> > you are getting. This is the same result I got when I compiled it
> > myself. (I'll note that this is using the gssapi and rpcsecgss
> > libraries from /usr/lib rather than the ones installed in
> > /usr/local/lib. Could you re-link with -Wl,-rpath=/usr/local/lib and
> > see if you still have the problem?
>
> Well, I missed that the lib was in installed in /usr/local/lib. Now:
I just got done installing RHEL4 on our machine and will try to
recreate the problem.
I think I may know what the problem is. If you didn't set the
PKG_CONFIG_PATH environment variable to /usr/local/lib/pkgconfig when
configuring nfs-utils it may have found the wrong headers and you'll
be running with something built against headers that don't match the
libraries.
Could you try rebuilding nfs-utils-1.1.0 from scratch and make sure to
"setenv PKG_CONFIG_PATH /usr/local/lib/pkgconfig" before running
configure? That should make sure that you use the headers installed
from the installs of libgssapi and librpcsecgss. If after building
that, ldd shows that rpcgssd is trying to use the libraries in
/usr/lib, then set LD_LIBRARY_PATH.
K.C.
More information about the NFSv4
mailing list