Description

Using an LDAP directory that does not contain an email attribute, moin deletes the email address at login.

Steps to reproduce

  1. Set the ldap_email_attribute (in farmconfig.py) to something that does not exist or

  2. Set your email address in the preferences page
  3. log out
  4. 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


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/LdapDeletesEmail (last edited 2008-03-18 17:11:48 by p5B055566)