[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: ldap_set_option/ldap_bind_s segfaults
> Thanks! that solved the issue.. I'm used to work on -Werror in
> Makefiles.. So undefined functions would stop instead of just warn.
> So with the correct define (without typo.. /me slaps himself) it now
> compiles without warnings (which I missed before). And now it works
> fine!
Good.
> Will submit patch to pure-ftpd team..
Please note that the right fix consists in avoiding deprecated functions
(e.g. use ldap_initialize() instead of ldap_init(), ldap_sasl_bind_s()
instead of ldap_bind_s()), not in defining LDAP_DEPRECATED. The latter is
a hack, as deprecated calls might be totally undefinable in future
releases.
p.
Ing. Pierangelo Masarati
OpenLDAP Core Team
SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
---------------------------------------
Office: +39 02 23998309
Mobile: +39 333 4963172
Email: pierangelo.masarati@sys-net.it
---------------------------------------