Closed (won't fix)
Project:
LDAP integration
Version:
4.7.x-1.0
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
7 May 2007 at 13:53 UTC
Updated:
6 Aug 2011 at 18:08 UTC
_ldapauth_user_lookup seems to loop through all the possible base DNs, even when it has already found a match. This might slow things down, though I don't understand the logic enough to tell if it keeps looping in case there could be a "better match".
Comments
Comment #1
kreaper commentedmarkdionne
this is from the legacy codebase. I am not sure how many implementations have actually come to rely on this ?
Based on the code flow, the routine is designed to return the last match.
In LDAP-speak, I would think that given multiple base DNs, the most specific successful match should be used.
I would like to carry out a discussion about this and see what others think before committing to change the code flow.
Comment #2
johnbarclay commentedClosing 4.7 issues to clean out issue queue.