DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=27134>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=27134 mod_ldap/util_ldap blindly rebind connection in checkuserid ------- Additional Comments From [EMAIL PROTECTED] 2004-04-19 19:28 ------- We tried to use the patch attached id=10470, and found that while it gave correct results, the number of open connections to the LDAP server increased linearly over time. We started hitting limits on the LDAP server on open connections. This may be a generic flaw in mod_ldap, in that there is no bounds I can see on the number of cached connections or how long they may be held open. In this case, it doesn't appear that the open connections served much of a function. We ended up using a patch suggested in comments to http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17274 On Apache 2.0.49 this was: $ diff mod_auth_ldap.c~ mod_auth_ldap.c 329c329 < util_ldap_connection_close(ldc); --- > util_ldap_connection_destroy(ldc); But this may defeat connection caching entirely. I don't claim to understand the code in detail. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
