[Owncloud] Heavy LDAP user search

Dirk Kastens dirk.kastens at uni-osnabrueck.de
Thu Aug 9 07:07:29 UTC 2012


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
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud
>


Regards,
Dirk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4827 bytes
Desc: S/MIME Kryptografische Unterschrift
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20120809/dc23ccd3/attachment.bin>


More information about the Owncloud mailing list