From 98181dedfa3e23f4cf5ad5065e0eee2baac27a19 Mon Sep 17 00:00:00 2001 From: stroeder Date: Sat, 18 Nov 2017 12:47:38 +0000 Subject: [PATCH] build checks whether LDAP_API_VERSION is OpenLDAP 2.4.x --- Modules/LDAPObject.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/LDAPObject.h b/Modules/LDAPObject.h index 4223735..a0adc3f 100644 --- a/Modules/LDAPObject.h +++ b/Modules/LDAPObject.h @@ -7,8 +7,8 @@ #include "lber.h" #include "ldap.h" -#if LDAP_API_VERSION < 2000 -#error Current python-ldap requires OpenLDAP 2.x +#if LDAP_API_VERSION < 2040 +#error Current python-ldap requires OpenLDAP 2.4.x #endif #if PYTHON_API_VERSION < 1007