summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-07-23 03:38:35 +0000
committerAndrew Tridgell <tridge@samba.org>2002-07-23 03:38:35 +0000
commitca07fb330f08d7dea17667b2a34b9065c8062a12 (patch)
treeb325e607f1a9ae0e4c007e95239d83d63782f599
parentff667e0983a4ec7009f53ba533490d9f766b75be (diff)
downloadsamba-ca07fb330f08d7dea17667b2a34b9065c8062a12.tar.gz
samba-ca07fb330f08d7dea17667b2a34b9065c8062a12.tar.bz2
samba-ca07fb330f08d7dea17667b2a34b9065c8062a12.zip
removed the freebsd getgroups check now that we don't use it
(This used to be commit d25dc761374ac832e2c5f6b32b7a468ea5a8591e)
-rw-r--r--source3/configure.in24
1 files changed, 0 insertions, 24 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 915c91e585..77c14c7191 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -2709,30 +2709,6 @@ else
fi
-# Check for FreeBSD problem with getgroups
-# It returns EGID too many times in the list of groups
-# and causes a security problem
-AC_CACHE_CHECK([whether or not getgroups returns EGID too many times],
- samba_cv_have_getgroups_too_many_egids,[AC_TRY_RUN([
-#include <sys/types.h>
-#include <stdio.h>
-
-int main(int argc, char *argv[])
-{
- gid_t groups[10];
- int n = 10;
-
- n = getgroups(n, &groups);
- /* Could actually pass back the number of EGIDs there ... */
- exit((n > 1 && groups[0] == getegid() && groups[1] == getegid()) ? 1 : 0);
-}],
- samba_cv_have_getgroups_too_many_egids=no,samba_cv_have_getgroups_too_many_egids=yes, samba_cv_have_getgroups_too_many_egids=cross)])
-if test x"$samba_cv_have_getgroups_too_many_egids" = x"yes"; then
- AC_DEFINE(HAVE_GETGROUPS_TOO_MANY_EGIDS)
-fi
-
-
-
# Substitution time!
AC_SUBST(WINBIND_TARGETS)