[tpop3d-discuss] segfault on bad password

Michael Klatsky michael at mapu.com
06 Jun 2002 11:06:55 -0400

To narrow it down further, it appears that the segfault occurs only when
doing the ldap auth using the filter:

auth-ldap-filter: (uid=$(user))

However, if I (in tpop3d.conf) add the lines:

append-domain: yes

and use the filter:

auth-ldap-filter: (uid=$(local_part))

it will work, although functionally, the above should be the same.

One other note, which I believe is separate- it doesn't appear that
tpop3d is releasing it's connections- I've got 160 connections in
TIME_WAIT since about 1:30 am when we put the popper into place. And we
only have around 2,000 users on this box. 

Additionally, I might be able to provide a test solaris box if you'd
like. Let me know offline whether that would help.


On Thu, 2002-06-06 at 07:00, Chris Lightfoot wrote:
> On Wed, Jun 05, 2002 at 08:13:08PM -0400, Michael wrote:
> > Chris-
> > 
> > I compiled on 2 versions with the same results. I note that the segfault
> > occurs on Solaris (8) only. Linux compilation, using the same ldap
> > server for auth, works just fine.
> > 
> > Also- since we are in the process of converting from NIS auth to LDAP
> > auth, I tested tpop3d with password auth, and it works fine.
> > 
> > I believe it is related to auth_ldap.c, but- not being a strong coder-
> > I'm not able to properly analyze the code.
> OK. I guess I'll have to build the LDAP stuff on Solaris
> to test this one....
> -- 
>      Roy Hudd: I've just done this radio show where I never met any of the
>                other actors and I didn't understand what any of it was about
> Stephen Moore: Ah, yes, I expect that's the thing I'm in. (describing HHGTTG)
> _______________________________________________
> tpop3d-discuss mailing list
> tpop3d-discuss@lists.beasts.org
> http://lists.beasts.org/mailman/listinfo/tpop3d-discuss