Description
Using an LDAP directory that does not contain an email attribute, moin deletes the email address at login.
Steps to reproduce
Set the ldap_email_attribute (in farmconfig.py) to something that does not exist or
- Set your email address in the preferences page
- log out
- log in
Component selection
- general
- auth.py
Details
MoinMoin Version |
1.5.8 (from fedora epel) |
OS and Version |
RHEL 5 |
Python Version |
2.4 |
Server Setup |
apache2.2 |
Server Details |
moin.cgi |
Language you are using the wiki in (set in the browser/UserPreferences) |
en |
Workaround
Upon further inspection, it appears that the original patch broke getting a name (aliasname) from LDAP.
This patch ldap_auth.diff fixes that problem, but when you save your preferences, you lose your aliasname until your next login.
Discussion
Plan
- Priority:
Assigned to: ThomasWaldmann
Status: fixed in 1.6 branch by changeset 2227:2d027f72fec6, http://hg.moinmo.in/moin/1.7/rev/af66750c66e4