[tpop3d-discuss] segfault on bad password

Michael michael at mapu.com
05 Jun 2002 17:35:41 -0400


As an update- tpop3d only segfaults on a bad password when using
auth_ldap for the driver. It works just fine when using passwd for
authentication.

Unfortunately- this is enough of a show stopper that I (regretfully)
will not be able to put it into production until a solution is found -
whether on the list or elsewhere.

I have applied the patches to auth_ldap.c but to know avail. This issue
is occurring on 2 different Solaris 8 boxes, using gcc 3.0 and gcc
2.9.5, and using Openldap 2.0.21 and 2.0.23.

M


On Wed, 2002-06-05 at 15:20, Michael Klatsky wrote:
> The compiler version is gcc 2.95.3...the patches discussed below- are
> those for openldap specifically? Or for tpop3d auth_ldap module?
> 
> Additionally- on the machine on which this will run, the following
> configure options have been used.
> 
> ./configure \
> --enable-mbox-bsd \
> --enable-mbox-bsd-save-indices \
> --enable-cclient-fcntl \
> --enable-auth-pam=no \
> --enable-auth-ldap \
> --with-openldap-root=/usr/local/lib
> 
> 
> 
> Thanks for any help.
> 
> 
> Michael
> 
> 
> 
> 
> 
> On Thu, 2002-05-16 at 14:30, Chris Lightfoot wrote:
> > On Thu, May 16, 2002 at 02:16:25PM -0400, Michael Klatsky wrote:
> > > Chris-
> > > 
> > > Whoops- I had hit reply, not reply-all. Anyway- I am using openldap
> > > 2.0.21, configured thusly:
> > > 
> > > ./configure --with-ldbm \
> > > --enable-debug \
> > > --enable-crypt \
> > > --enable-syslog \
> > > --enable-wrappers
> > > 
> > > Please note, too- that the machine in question has a hostname of
> > > mail.mapu.com. It will also respond to mail.klatsky.com.
> > 
> > OK. I can't reproduce this here (i686-gnu-linux). The
> > version of auth_ldap I have is slightly different-- there
> > are some patches for memory leaks. See prior discussion on
> > this list. Could you try applying the patches and seeing
> > if it makes any difference?
> > 
> > There is a possibility that it's a compiler issue. I take
> > it that openldap and tpop3d were compiled with the same
> > compiler?
> > 
> > --