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
Configure MoinMoin with ldap auth
Use the instructions in HelpOnInstalling/ApacheWithModPython to switch to mod_python
- Try to log in
Example
n/a
Component selection
- general
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
- Priority:
- Assigned to:
- Status: