Description

LDAP logins work fine for MoinMoin CGI, but breaks when configured for mod_python. Using standard moin_login, moin_cookie works fine for both CGI and mod_python.

With mod_python enabled for LDAP auth, I just get "Sorry, wrong password". A packet dump reveals that MoinMoin doesn't even try to contact the ldap server.

Steps to reproduce

  1. Configure MoinMoin with ldap auth

  2. Use the instructions in HelpOnInstalling/ApacheWithModPython to switch to mod_python

  3. Try to log in

Example

n/a

Component selection

Details

MoinMoin Version

1.5.6

OS and Version

RHEL4 update4

Python Version

python-2.3.4-14.3

Server Setup

Apache/Modpython

Server Details

?

Language you are using the wiki in (set in the browser/UserPreferences)

English

Workaround

- Use CGI (but it's so much slower :-( ) - Use apache mod_auth_ldap and auth.http

Discussion

Using pdb I traced this to an exception triggered in the python-ldap binary C module; this doesn't appear to be a MoinMoin bug, but something related to ldap libraries and possibly linking.

Plan


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/ModPythonBreaksLdapAuth (last edited 2007-10-29 19:21:27 by localhost)