Re: [Exim] LDAP support

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Phil Brutsche
Ημερομηνία:  
Προς: exim-users
Υ/ο: Joseph Kezar
Αντικείμενο: Re: [Exim] LDAP support
On Mon, 2001-09-24 at 10:19, Joseph Kezar wrote:
> I can't seem to build exim with LDAP support(a much need asset in our
> environment).
> When I have thw follwing line in my /Local/Makefile:
> LOOKUP_LDAP=yes
> at compile time I get:
> ldap.c: In function `perform_ldap_search':
> ldap.c:482: dereferencing pointer to incomplete type
> ldap.c:483: dereferencing pointer to incomplete type
> make[2]: *** [ldap.o] Error 1


Looks like you have a LDAP version mismatch.

> Mind you, I have the LDAP development libraries installed on my RH71
> box. Can you please give me some aid to adding the much needed LDAP
> support.


If you didn't put

LDAP_LIB_TYPE=OPENLDAP2

in Local/Makefile that's what your problem is. If you don't specify the
LDAP_LIB_TYPE variable then the Exim build process assumes you have
OpenLDAP 1.x, whereas RH7.1 has OpenLDAP 2.0.x.

--

Phil