summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2005-10-13 23:03:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:04:59 -0500
commit380c6133240f8cb2da79453d08e77778d157d176 (patch)
tree6188aff007db099c0879ccf48a1e471f7419bdeb /source
parent081409a724fce1f6e6f29bfcc824fd3f5ec6d9ff (diff)
downloadsamba-380c6133240f8cb2da79453d08e77778d157d176.tar.gz
samba-380c6133240f8cb2da79453d08e77778d157d176.tar.xz
samba-380c6133240f8cb2da79453d08e77778d157d176.zip
r10977: Get rid of tons of new warnings when building with OpenLDAP 2.3.7 or higher.
Guenther
Diffstat (limited to 'source')
-rw-r--r--source/configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/configure.in b/source/configure.in
index b331387a3fc..1aaf65e13ff 100644
--- a/source/configure.in
+++ b/source/configure.in
@@ -2820,6 +2820,7 @@ if test x"$with_ldap_support" != x"no"; then
if test x"$ac_cv_lib_ext_ldap_ldap_init" = x"yes" -a x"$ac_cv_func_ext_ldap_domain2hostlist" = x"yes"; then
AC_DEFINE(HAVE_LDAP,1,[Whether ldap is available])
+ CPPFLAGS="$CPPFLAGS -DLDAP_DEPRECATED"
default_static_modules="$default_static_modules pdb_ldap idmap_ldap";
default_shared_modules="$default_shared_modules";
SMBLDAP="lib/smbldap.o"