packages/libs/libnfsidmap/patches/000-no-getgrouplist.patch

18 lines
508 B
Diff
Raw Normal View History

Index: libnfsidmap-0.20/nss.c
===================================================================
--- libnfsidmap-0.20.orig/nss.c 2007-07-12 11:42:09.000000000 +0200
+++ libnfsidmap-0.20/nss.c 2007-07-12 11:42:09.000000000 +0200
@@ -295,9 +295,9 @@
ret = -ENOENT;
goto out;
}
- if (getgrouplist(pw->pw_name, pw->pw_gid, groups, ngroups) < 0)
- ret = -ERANGE;
- free(pw);
+ // if (getgrouplist(pw->pw_name, pw->pw_gid, groups, ngroups) < 0)
+ // ret = -ERANGE;
+ // free(pw);
out:
return ret;
}