“If debugging is the process of removing bugs, then programming must be the process of putting them in.” – Edsger Dijkstra
This is the Bug Tracking System for the Flyspray project. This is not a demo! Before opening a new task, please read the guidelines!
Do not issue bugs reports against versions earlier than 0.9.9.6
Security problem? Check the security section.
FS#1544 - ldapanonymous fails to retrieve CN
Opened by Gonéri Le Bouder (goneri) - Saturday, 31 January 2009, 22:09 GMT+1
|
DetailsHi, The CommonName and email address are not retrieved from the LDAP server in case of anonymous bind. If the user doesn’t exist yet, Backend::create_user fails because username is needed but missing. I fixed that in the patch I attached. I Also did 2 changes: 1) Because we need an LDAP search to get the CommonName and the email, ‘direct’ mode is IMO useless. I dropped it. 1) Most of the code between ‘Anonymous’ and ‘Bind DN + rebind’ is shared and tried to simplify the code Best regards, Gonéri Le Bouder |
flyspray-fix-ldapanonymous.di...