summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-02-26 01:41:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:10:23 -0500
commit52576153670f79014992020cb5179cc51ee0a6b9 (patch)
tree855f5c6e2d1642e4b41e2b5de2e471ed95b51b02 /source3
parent21760b0001d5ab645c15a730c543ee870753e419 (diff)
downloadsamba-52576153670f79014992020cb5179cc51ee0a6b9.tar.gz
samba-52576153670f79014992020cb5179cc51ee0a6b9.tar.bz2
samba-52576153670f79014992020cb5179cc51ee0a6b9.zip
r13690: Check in Björn's LDAP Solaris fix.
(This used to be commit d6c6363517513cc66a8933a6e4f95c5ce5cf1cb4)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/includes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 407c68b4c3..372744c8ea 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -470,6 +470,10 @@
#ifndef LDAP_OPT_SUCCESS
#define LDAP_OPT_SUCCESS 0
#endif
+/* Solaris 8 and maybe other LDAP implementations spell this "..._INPROGRESS": */
+#if defined(LDAP_SASL_BIND_INPROGRESS) && !defined(LDAP_SASL_BIND_IN_PROGRESS)
+#define LDAP_SASL_BIND_IN_PROGRESS LDAP_SASL_BIND_INPROGRESS
+#endif
#else
#undef HAVE_LDAP
#endif