[Owncloud] Heavy LDAP user search
Manuel Delgado
manuel.delgado at ucr.ac.cr
Thu Aug 9 16:46:44 UTC 2012
Hi Dirk,
When I set the size limit, ldap_serch will only return X entries, so
autocompletion will only work on those X entries and I'll be unable to
share the file with anyone beyond X.
Is this right? or am I missing something?
On Thu, Aug 9, 2012 at 1:07 AM, Dirk Kastens <dirk.kastens at uni-osnabrueck.de
> wrote:
> 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<https://mail.kde.org/mailman/listinfo/owncloud>
>>
>>
>
> Regards,
> Dirk
>
>
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud
>
>
Regards
Manuel
-----------------------------------------------------------
*Usuario Linux* *#520940 <http://counter.li.org/>*
Bach. Computación e Informática
Universidad de Costa Rica
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20120809/fb487d86/attachment.html>
More information about the Owncloud
mailing list