Hi,another solution would be to have an ldap search limit implemented. I just configured this for our SOGo server (opengroupware). This has a server option called SOGoLDAPQueryLimit. If you set this to 100, the search will stop after the first found 100 users. Autocompletion works very well with that. In the meantime you could set a search limit on your ldap server.
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_______________________________________________ Owncloud mailing list [email protected] https://mail.kde.org/mailman/listinfo/owncloud
Regards, Dirk
smime.p7s
Description: S/MIME Kryptografische Unterschrift
_______________________________________________ Owncloud mailing list [email protected] https://mail.kde.org/mailman/listinfo/owncloud
