= Description =

Some LDAP services only do auth, and do not provide name, email etc. info.

Moin should not try to look up that information if it is not available.

== Steps to reproduce ==

 1. Configure LDAP without specifying ldap_email_attribute, ldap_aliasname_attribute, ldap_surname_attribute, ldap_givenname_attribute (as that info may not be available).
 2. Try to login, while watching logs :-)


== Details ==

## If you got a traceback, please save the traceback page as html and attach here:
## attachment:traceback.html

## if the bug is in this wiki, just kill the table and write: This Wiki.

## If a traceback is not available, please fill in the details here:
|| '''!MoinMoin Version''' || 1.6 ||

== Workaround ==

No workaround. [[attachment:ldap-patch.export|Patch]]


= Discussion =



= Plan =
## This part is for Moin``Moin developers:

 * Priority: 
 * Assigned to:
 * Status: committed to 1.6 as cs 82dd8d2d68aa, see also cs b065fa55cb3f

----
## If you are a moin core developer, replace the category to Category* in these cases:
## Category MoinMoinNoBug - if this is not a bug.
## Category MoinMoinBugConfirmed - if you can confirm the bug on current code.
## Category MoinMoinBugFixed - after the bug is fixed in current code.
CategoryMoinMoinBugFixed