summaryrefslogtreecommitdiffstats
path: root/source/include/includes.h
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-02-26 01:41:02 +0000
committerVolker Lendecke <vlendec@samba.org>2006-02-26 01:41:02 +0000
commitf945e0c7160ce248c30e8d7c5abbf7d1252fcd73 (patch)
tree6910ba79fbb60e69b014e20d996cb1c391b42e54 /source/include/includes.h
parent64927059c208f5a9839ed6bf398356e503fe78cd (diff)
downloadsamba-f945e0c7160ce248c30e8d7c5abbf7d1252fcd73.tar.gz
samba-f945e0c7160ce248c30e8d7c5abbf7d1252fcd73.tar.xz
samba-f945e0c7160ce248c30e8d7c5abbf7d1252fcd73.zip
r13690: Check in Björn's LDAP Solaris fix.
Diffstat (limited to 'source/include/includes.h')
-rw-r--r--source/include/includes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/include/includes.h b/source/include/includes.h
index 407c68b4c39..372744c8eaa 100644
--- a/source/include/includes.h
+++ b/source/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