User ID mapping issue with non-existing user on NFSv4 Client

Kevin Coffman kwc at citi.umich.edu
Mon Aug 14 14:42:00 EDT 2006


Hi Erik,
The following patch in libnfsidmap should fix the problem.  It will be
in libnfsidmap-0.17.  There is another issue that I need to address
before putting out a new version.

Index: nss.c
===================================================================
RCS file: /cvs/nfsv4/libnfsidmap/nss.c,v
retrieving revision 1.8
diff -u -r1.8 nss.c
--- nss.c       20 Apr 2006 15:49:48 -0000      1.8
+++ nss.c       14 Aug 2006 18:36:54 -0000
@@ -183,6 +183,8 @@
        if (err == 0 && pw != NULL) {
                *err_p = 0;
                return pw;
+       } else if (err == 0 && pw == NULL) {
+               err = ENOENT;
        }

 err_free_buf:



On 8/14/06, Kevin Coffman <kwc at citi.umich.edu> wrote:
> Hi Erik,
> Thanks for the report.  This looks like it is a bug in libnfsidmap.
> I'm working on a fix.
>


More information about the NFSv4 mailing list