[Tickets #8269] Re: Tries to bind to LDAP as each user that has a gallery

bugs at horde.org bugs at horde.org
Fri May 15 10:13:36 UTC 2009


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8269
------------------------------------------------------------------------------
  Ticket             | 8269
  Updated By         | Duck <duck at obala.net>
  Summary            | Tries to bind to LDAP as each user that has a gallery
  Queue              | Ansel
  Version            | 1.0
  Type               | Bug
  State              | Assigned
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Horde Developers, Michael Rubinsky
------------------------------------------------------------------------------


Duck <duck at obala.net> (2009-05-15 06:13) wrote:

> The fix for this will probably be to introduce a new configuration
> switch to turn this feature on or off. "On" for the servers that are
> using an SQL backend (or even LDAP, if not requiring individual user
> credentials). and "off" for those servers that can't do this or don't
> want to for performance reasons.

If you remember, time ago I prepared a patch to allow locking of this  
preferences and avoid all loading but was rejected. Now days, I think  
a better approach it will be to make the pref object load the  
preference for multiply users at once. This will minimize queries not  
just in Ansel (all list with from_addr or fullname etc). So Ansel will  
be able to first retrieve usernames of listed galleries and then load  
all pref values at once  (just one query instead of 9 queries in a  
default gallery list).






More information about the bugs mailing list