summaryrefslogtreecommitdiffstats
path: root/libs/libnfsidmap/patches/000-no-getgrouplist.patch
blob: ea48245a426c21f1948efc324cca2a7a0899a3ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;
 }