[dovecot-cvs] dovecot/src/auth db-ldap.c,1.2,1.3

cras at procontrol.fi cras at procontrol.fi
Sun Feb 2 13:00:00 EET 2003


Update of /home/cvs/dovecot/src/auth
In directory danu:/tmp/cvs-serv833

Modified Files:
	db-ldap.c 
Log Message:
Define OPENLDAP_ASYNC_WORKAROUND



Index: db-ldap.c
===================================================================
RCS file: /home/cvs/dovecot/src/auth/db-ldap.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- db-ldap.c	2 Feb 2003 00:08:28 -0000	1.2
+++ db-ldap.c	2 Feb 2003 10:59:58 -0000	1.3
@@ -14,6 +14,11 @@
 
 #include <stddef.h>
 
+/* This may block the process for two seconds, but at least it works. */
+#if LDAP_VENDOR_VERSION <= 20026
+#  define OPENLDAP_ASYNC_WORKAROUND
+#endif
+
 #define DEF(type, name) \
 	{ type, #name, offsetof(struct ldap_settings, name) }
 




More information about the dovecot-cvs mailing list