[Owncloud] ldap function getUsers

Dayo roneyworld at googlemail.com
Tue Jan 17 15:56:57 UTC 2012


On 01/17/2012 04:04 PM, Dirk Kastens wrote:
> Hi,
>
> I'm new to the owncloud project - just installed it yesterday.
> First of all, let me say, that I'm very enthusiastic about the project 
> and the simplicity of the installation process. Great work!!!
> I'm planning on offering owncloud as a service at our university.
>
> But there's one problem with the user_ldap app. Sharing files with 
> other ldap users doesn't work. It's the way the getUsers function is 
> implemented. We have about 50,000 users in our ldap directory. And we 
> use anonymous authentication. But the search result is limited to 100 
> entries, if the search is done anonymously.
>
> So, if we do an anonymous search, it is unlikely that the requested 
> user, that I want to share my files with, is among the returned users. 
> On the other hand, if we connect with a binddn and all 50,000 users 
> are returned, it takes a long time and it consumes a lot of memory (a 
> php array with 50,000 entries).
>
> Wouldn't it be better if a user could enter an arbitrary uid into the 
> search field?
>
>
>
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud
I haven't tried anonymously, but I have also experienced the 
resource-intensity of a large user number ldap search in owncloud. It 
actually hangs my browser, pushing my CPU to 100% usage.
See screenshots:
http://i.imgur.com/SL0Ym.png
http://i.imgur.com/mQ0T5.png

Thanks

Dayo




More information about the Owncloud mailing list