[mod_python] seg fault with mod_python - python-ldap

Graham Dumpleton grahamd at dscpl.com.au
Wed Mar 30 17:33:38 EST 2005

Colin Doherty wrote ..
> Hi,
> I'm getting an apache seg fault when submitting
> authentication details using the mod_python auth
> mechanism and python-ldap. The python-ldap module
> works fine from a standalone script so it seems to be
> an apache  - python-ldap - openldap library issue. Set
> up is as follows on solaris 8:
> apache 2 (2.0.53), python-ldap 2.0.6, mod_python
> 3.1.4, mpservlets 1.1.6, openldap 2.2.7
> Anyone come across this issue ?

First thing to do would be to try and determine if the python-ldap
module has been compiled against the same version of ldap libraries
that any loaded mod_ldap module used by Apache, or any compiled
in support for ldap in PHP uses.

A mismatch in library versions required for different modules in
the areas of Python, Apache and PHP is usually the cause of
such unexplained seg faults.


More information about the Mod_python mailing list