[prev in list] [next in list] [prev in thread] [next in thread]
List: openldap-technical
Subject: Re: ldap_set_option/ldap_bind_s segfaults
From: Pierangelo Masarati <ando () sys-net ! it>
Date: 2007-12-31 9:31:24
Message-ID: 1077.151.24.81.199.1199093484.squirrel () 151 ! 24 ! 81 ! 199
[Download RAW message or body]
> 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(a)sys-net.it
---------------------------------------
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic