On Wed, Mar 12, 2008 at 09:20:36AM -0300, Alexandre Biancalana wrote: > Hi list ! > > Recently I tried to run Qmail-LDAP on a FreeBSD-7 (AMD64 Version) > and discovered that they simple doesn't work, coredumped occurred on > every Qmail-LDAP access to OpenLDAP... > > First I think that was a problem with OpenLdap, but after some > research and help from FreeBSD people I found a problem in the way > that Qmail-LDAP call OpenLDAP functions. > > For more information see this thread in freebsd-stable, that report > the problem > (http://www.freebsd.org/cgi/getmsg.cgi?fetch=152595+157612+/usr/local/www/db/text/2008/freebsd-stable/20080309.freebsd-stable) > and Xin Li give the explanation of the problem > (http://www.freebsd.org/cgi/getmsg.cgi?fetch=157612+0+/usr/local/www/db/text/2008/freebsd-stable/20080309.freebsd-stable), > what I don't know is why this happen only in FreeBSD. > > Did you know that this is happening ? Is someone working on that ? > > I started to research the problem, to produce a fix, but I need some > mentor to guide me... >
The problem is the too new openldap version you use or actually the fact that openldap deprecated a large part of the API. For now you can add -DLDAP_DEPRECATED to the LDAPFLAGS and everything should be fine. -- :wq Claudio
