+2002-12-11 Ion Badulescu <ionut@moisil.badula.org>
+
+ Solaris9 build fixes:
+
+ * amd/info_ldap.c (amu_ldap_rebind): call ldap_enable_cache() only
+ if configure detected it
+
+ * configure.in: check for ldap_enable_cache()
+
2002-12-10 Erez Zadok <ezk@localhost.localdomain>
* rename "aux/" subdir into "m4/" so as to avoid problems with
# -*- text -*-
+*** Notes specific to am-utils version 6.0.9-pre:
+
+- Minor new ports:
+ sparc-sun-solaris2.9
+
*** Notes specific to am-utils version 6.0.8:
- Minor new ports:
*
* %W% (Berkeley) %G%
*
- * $Id: info_ldap.c,v 1.9.2.5 2002/03/28 21:23:13 ezk Exp $
+ * $Id: info_ldap.c,v 1.9.2.6 2002/12/11 06:11:17 ib42 Exp $
*
*/
break;
}
if (gopt.ldap_cache_seconds > 0) {
+#ifdef HAVE_LDAP_ENABLE_CACHE
ldap_enable_cache(ld, gopt.ldap_cache_seconds, gopt.ldap_cache_maxmem);
+#else /* HAVE_LDAP_ENABLE_CACHE */
+ plog(XLOG_WARNING, "ldap_enable_cache(%ld) does not exist on this system!\n", gopt.ldap_cache_seconds);
+#endif /* HAVE_LDAP_ENABLE_CACHE */
a->ldap = ld;
a->timestamp = now;
return (0);
dnl
dnl AC_CONFIG_AUX_DIR(m4)
AC_PREREQ(2.52)
-AC_REVISION($Revision: 1.1.2.32 $)
+AC_REVISION($Revision: 1.1.2.33 $)
AC_COPYRIGHT([Copyright (c) 1997-2002 Erez Zadok])
dnl find out system type
AC_MSG_NOTICE(*** SYSTEM TYPES ***)
hesiod_reload \
hesiod_to_bind \
ldap_open \
+ ldap_enable_cache \
memcmp \
memcpy \
memmove \