diff -Naur samba-3.5.3/source3/configure samba-3.5.3.patch/source3/configure
diff -Naur samba-3.5.3/source3/configure.in samba-3.5.3.patch/source3/configure.in
--- samba-3.5.3/source3/configure.in	2010-05-17 13:51:23.000000000 +0200
+++ samba-3.5.3.patch/source3/configure.in	2010-06-03 01:00:07.569378093 +0200
@@ -1190,36 +1190,7 @@
 #
 #
 #
-case "$host_os" in
-    *linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu)
-       # glibc <= 2.3.2 has a broken getgrouplist
-       AC_CACHE_CHECK([for good getgrouplist],samba_cv_linux_getgrouplist_ok,[AC_TRY_RUN([
-#include <unistd.h>
-#include <sys/utsname.h>
-main() {
-       /* glibc up to 2.3 has a broken getgrouplist */
-#if defined(__GLIBC__) && defined(__GLIBC_MINOR__)
-       int libc_major = __GLIBC__;
-       int libc_minor = __GLIBC_MINOR__;
-
-       if (libc_major < 2)
-              exit(1);
-       if ((libc_major == 2) && (libc_minor <= 3))
-              exit(1);
-#endif
-       exit(0);
-}
-], [samba_cv_linux_getgrouplist_ok=yes],
-   [samba_cv_linux_getgrouplist_ok=no],
-   [samba_cv_linux_getgrouplist_ok=cross])])
-       if test x"$samba_cv_linux_getgrouplist_ok" = x"yes"; then
-          AC_DEFINE(HAVE_GETGROUPLIST, 1, [Have good getgrouplist])
-       fi
-       ;;
-    *)
-       AC_CHECK_FUNCS(getgrouplist)
-       ;;
-esac
+AC_CHECK_FUNCS(getgrouplist)
 
 #
 # stat64 family may need <sys/stat.h> on some systems, notably ReliantUNIX
diff -Naur samba-3.5.3/source3/include/config.h.in samba-3.5.3.patch/source3/include/config.h.in
