summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-07-16 14:35:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:28:39 -0500
commit57dd25cccbc0691dd4b84d2dca03497863b355ea (patch)
tree873acf17955046066c32e019882d93c5dde077e6 /source3/configure.in
parent0f0e847e39de2f4084127f782261ad290ba042c7 (diff)
downloadsamba-57dd25cccbc0691dd4b84d2dca03497863b355ea.tar.gz
samba-57dd25cccbc0691dd4b84d2dca03497863b355ea.tar.bz2
samba-57dd25cccbc0691dd4b84d2dca03497863b355ea.zip
r23893: add dummy callbacks for LDAP SASL wrapping,
they're not used yet... metze (This used to be commit a3b97cdce719d9d5e82f26096c0e8c3a86ff3965)
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index eacbe6a466..5e5d550555 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -3478,6 +3478,14 @@ if test x"$with_ldap_support" != x"no"; then
AC_CHECK_LIB_EXT(lber, LDAP_LIBS, ber_scanf)
########################################################
+ # If ber_sockbuf_add_io() is available we can add
+ # SASL wrapping hooks
+ AC_CHECK_FUNC_EXT(ber_sockbuf_add_io,$LDAP_LIBS)
+ if test x"$ac_cv_func_ext_ber_sockbuf_add_io" = x"yes"; then
+ AC_DEFINE(HAVE_ADS_SASL_WRAPPING, 1, [Support for SASL wrapping])
+ fi
+
+ ########################################################
# now see if we can find the ldap libs in standard paths
AC_CHECK_LIB_EXT(ldap, LDAP_LIBS, ldap_init)