Mercurial > dovecot > core-2.2
changeset 1086:067130d609b7 HEAD
Define OPENLDAP_ASYNC_WORKAROUND
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 02 Feb 2003 12:59:58 +0200 |
parents | 40c2be9abdd3 |
children | c1f6c20cde9a |
files | src/auth/db-ldap.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/auth/db-ldap.c Sun Feb 02 12:53:43 2003 +0200 +++ b/src/auth/db-ldap.c Sun Feb 02 12:59:58 2003 +0200 @@ -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) }