[Exim] Trying to use LDAP users

Startseite
Nachricht löschen
Nachricht beantworten
Autor: ja_rubio
Datum:  
To: exim-users
Betreff: [Exim] Trying to use LDAP users
Hi All,

Im trying to use Exim with LDAP support. I compiled my exim without
any modification to Makefile file, and after I modified my configure
file and trying to start Exim I've this error:
Exim configuration error
lookup type "ldapm" is not available (not in the binary - check
buildtime LOOKUP configuration) in line 106

When I modified my Makefile with the following changes:

LOOKUP_LDAP=yes
LDAP_LIB_TYPE=OPENLDAP2

I've the following errors:

lookups/lookups.a(ldap.o): In function `perform_ldap_search':
ldap.o(.text+0x93): undefined reference to `ldap_is_ldap_url'
ldap.o(.text+0xb5): undefined reference to `ldap_url_parse'
ldap.o(.text+0x181): undefined reference to `ldap_open'
ldap.o(.text+0x30a): undefined reference to `ldap_bind_s'
ldap.o(.text+0x31c): undefined reference to `ldap_err2string'
ldap.o(.text+0x39f): undefined reference to `ldap_set_option'
ldap.o(.text+0x3b3): undefined reference to `ldap_set_option'
ldap.o(.text+0x3ee): undefined reference to `ldap_search'
ldap.o(.text+0x47e): undefined reference to `ldap_first_entry'
ldap.o(.text+0x4ee): undefined reference to `ldap_get_dn'
ldap.o(.text+0x535): undefined reference to `ldap_memfree'
ldap.o(.text+0x559): undefined reference to `ldap_first_attribute'
ldap.o(.text+0x57e): undefined reference to `ldap_get_values'
ldap.o(.text+0x777): undefined reference to `ldap_value_free'
ldap.o(.text+0x785): undefined reference to `ldap_memfree'
ldap.o(.text+0x799): undefined reference to `ldap_next_attribute'
ldap.o(.text+0x7b8): undefined reference to `ldap_next_entry'
ldap.o(.text+0x7d1): undefined reference to `ldap_msgfree'
ldap.o(.text+0x7ee): undefined reference to `ldap_result'
ldap.o(.text+0x859): undefined reference to `ldap_result2error'
ldap.o(.text+0x862): undefined reference to `ldap_err2string'
ldap.o(.text+0x913): undefined reference to `ldap_free_urldesc'
ldap.o(.text+0x936): undefined reference to `ldap_free_urldesc'
lookups/lookups.a(ldap.o): In function `eldap_tidy':
ldap.o(.text+0xd32): undefined reference to `ldap_unbind'
collect2: ld returned 1 exit status
make[1]: *** [exim] Error 1
make[1]: Leaving directory `/home/jarubio/exim-3.33/build-Linux-i386'
make: *** [go] Error 2

Any one can help me???

Thanks in advance.
Regards,