Fixed libldap interaction with GnuTLS CN IP-based matches (ITS#5789)
Fixed libldap MAXHOSTNAMELEN typo (ITS#5815)
Fixed libldap Ipv6 detection (ITS#5739)
+ Fixed libldap setuid usage with .ldaprc (ITS#4750)
Fixed slapacl crasher (ITS#5820)
Fixed slapd acl checks on ADD (ITS#4556,ITS#5723)
Fixed slapd acl application to newly created backends (ITS#5572)
#! /bin/sh
-# From configure.in OpenLDAP: pkg/ldap/configure.in,v 1.631.2.15 2008/11/08 00:14:44 quanah Exp .
+# From configure.in OpenLDAP: pkg/ldap/configure.in,v 1.631.2.16 2008/11/10 19:15:16 quanah Exp .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59.
#
+
for ac_func in \
flock \
fstat \
getdtablesize \
+ geteuid \
getgrgid \
gethostname \
getpass \
flock \
fstat \
getdtablesize \
+ geteuid \
getgrgid \
gethostname \
getpass \
/* Define to 1 if you have the `getdtablesize' function. */
#undef HAVE_GETDTABLESIZE
+/* Define to 1 if you have the `geteuid' function. */
+#undef HAVE_GETEUID
+
/* Define to 1 if you have the `getgrgid' function. */
#undef HAVE_GETGRGID
#include <stdio.h>
#include <ac/stdlib.h>
+#ifdef HAVE_GETEUID
+#include <ac/unistd.h>
+#endif
+
#include <ac/socket.h>
#include <ac/string.h>
#include <ac/ctype.h>
#endif
openldap_ldap_init_w_sysconf(LDAP_CONF_FILE);
+
+#ifdef HAVE_GETEUID
+ if ( geteuid() != getuid() )
+ return;
+#endif
+
openldap_ldap_init_w_userconf(LDAP_USERRC_FILE);
{