[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ldap_set_option/ldap_bind_s segfaults

Johan Ström wrote:
> Hi list
> Im trying to run pure-ftpd 1.0.21 on a FreeBSD 7.0-amd64

Since your arch is 64 bit, and that piece of code is using a lot of
function calls whose declaration in ldap.h is hidden behind
LDAP_DEPRECATED (ldap_init(), ldap_bind_s()), you should declare that
macro (e.g. manually add -DLDAP_DEPRECATED=1 in the Makefile where
LDAP-related code is built) when building the client, so the function
declarations become visible.


Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Email:   pierangelo.masarati@sys-net.it