[Owncloud] Heavy LDAP user search

Michael Gapczynski mtgap at owncloud.com
Thu Aug 9 00:52:39 UTC 2012


Hi Manuel,

We're aware of this problem and have implemented somewhat of a solution for 
the next release of ownCloud. The first request will still take a while, but 
after that the users will be cached so searching should not be delayed in the 
user interface.


Michael

On Wednesday, August 08, 2012 06:19:31 PM Manuel Delgado wrote:
> Hi everyone!
> 
> I work at the University of Costa Rica and we are deploying Owncloud as a
> service for students and employees.
> 
> The problem here is that our LDAP directory has about 109120 entries and
> when we try to share a single file, it takes a long time and does a very
> heavy process in the getUsers() method in user_ldap.php.
> 
> Has anyone had a similar problem? I think we can make a cache, taking users
> from ldap_user_mapping table and update it through a cron or similar.
> 
> Regards,
> Manuel Delgado
> 
> -----------------------------------------------------------
> *Usuario Linux* *#520940 <http://counter.li.org/>*
> 
> Bach. Computación e Informática
> Universidad de Costa Rica



More information about the Owncloud mailing list