DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27076>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27076 util_ldap.c could loop over multiple entries Summary: util_ldap.c could loop over multiple entries Product: Apache httpd-2.0 Version: 2.0-HEAD Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: mod_auth_ldap AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] The existing util_ldap.c considers it an error in util_ldap_cache_checkuserid if it searches for a user and gets back more than one entry. It could instead loop on the variable 'entry', using both ldap_first_entry and ldap_next_entry, to try binding to each entry in turn. I've made the change, and it seems to work fine - is there any particular problem with doing this? (I'm ignoring the question of whether there *should* be non-unique entries in a directory server - I have to deal with a directory server that has them, whether I like it or not :-) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
