[Owncloud] Heavy LDAP user search
blizzz at owncloud.com
Fri Sep 21 10:07:41 UTC 2012
On Friday, September 21, 2012 11:56:12 AM Diederik de Haas wrote:
> On Friday 21 September 2012 11:41:14 Arthur Schiwon wrote:
> > > I'm always
> > > running into the search time limit of our ldap server. Now, when I try
> > > to share something with another ldap user, the owncloud server hangs. I
> > > assume, it's because the autocomplete function tries to read in all 50k
> > > users of our directory.
> > Try to increase the Cache TTL to make it run more smoothly. However, every
> > now and then it needs to be updated.
> Why not create an option in the LDAP-backend/Admin app to (pre-)scan the
> directory? That way the administrator can determine when it's a good time to
> query the 'whole' directory instead of it being invoked when the first user
> request triggers it. I'm not sure, but maybe this way there's also a(n
> elegant) way to avoid timeouts.
> Would using the cron feature a proper way to update the cache and/or fill it
> in the first place?
> Note: I haven't used the LDAP backend (yet?), so this is just me
> brainstorming. Hope it helps.
Yes, such a background job is in my mind, not much of a problem to do.
> Owncloud mailing list
> Owncloud at kde.org
More information about the Owncloud