[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LDAP_FILT_MAXSIZ



Hi,

it seems newer versions of OpenLDAP's ldap.h no longer have the 
LDAP_FILT_MAXSIZ constant defined (I'm using OpenLDAP 2.1.21 compiled from 
source).

This produces an error while compiling router/libdb/ldap.c:
ldap.c: In function `search_ldap':
ldap.c:182: `LDAP_FILT_MAXSIZ' undeclared (first use in this function)
ldap.c:182: (Each undeclared identifier is reported

The attached little patch (which defines the constant only if it's not 
defined) seems to solve the problem.


--
Mariano Absatz
El Baby
----------------------------------------------------------
Computers are only human.


zmailer-ldap-h-bug.patch