<html><head/><body><html><head></head><body>Just brainstorming: lucene by default only starts searching when the user has enterd three characters. Using the same limitation in the share dialog would allow Arthur to query the LDAP server with a filter that takes the three digits into account. That should drastically reduce lookup times and is not much of a nuisance to the user. The search dialog could then directly be populated with ldap results<br>
<br>
@ Arthur: would that work or are there other requirements?<br><br><div class="gmail_quote"><br>
<br>
Dirk Kastens <dirk.kastens@uni-osnabrueck.de> schrieb:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre style="white-space: pre-wrap; word-wrap:break-word; font-family: sans-serif; margin-top: 0px">I have configured many software products with ldap access at work. None <br />of it scans the whole directory. The problem is, that oc won't recognize <br />changes in the directory. When I add a new ldap user or when I change <br />the group membership of a user, I expect that the software immediately <br />recognizes the changes. It's not very user friendly if I have to wait <br />for the next complete rescan of the directory to discover the changes.<br /><br />Am 21.09.2012 11:56, schrieb Diederik de Haas:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">On Friday 21 September 2012 11:41:14 Arthur Schiwon wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; borde
r-left:
1px solid #8ae234; padding-left: 1ex;">I'm always<br />running into the search time limit of our ldap server. Now, when I try<br />to share something with another ldap user, the owncloud server hangs. I<br />assume, it's because the autocomplete function tries to read in all 50k<br />users of our directory.</blockquote><br />Try to increase the Cache TTL to make it run more smoothly. However, every<br />now and then it needs to be updated.</blockquote><br />Why not create an option in the LDAP-backend/Admin app to (pre-)scan the<br />directory? That way the administrator can determine when it's a good time to<br />query the 'whole' directory instead of it being invoked when the first user<br />request triggers it. I'm not sure, but maybe this way there's also a(n elegant)<br />way to avoid timeouts.<br />Would using the cron feature a proper way to update the cache and/or fill it in<br />the first place?<br /><br />Note: I haven't used the LDAP backend (yet?), so this is jus
t me
brainstorming.<br />Hope it helps.<br /></blockquote>Dirk<br /><br /></pre><p style="margin-top: 2.5em; margin-bottom: 1em; border-bottom: 1px solid #000"></p><pre style="white-space: pre-wrap; word-wrap:break-word; font-family: sans-serif; margin-top: 0px"><hr /><br />Owncloud mailing list<br />Owncloud@kde.org<br /><a href="https://mail.kde.org/mailman/listinfo/owncloud">https://mail.kde.org/mailman/listinfo/owncloud</a><br /></pre></blockquote></div><br>
-- <br>
Jörn Friedrich Dreyer (jfd@owncloud.com)<br>
Software Developer<br>
ownCloud GmbH<br>
<br>
Your Data, Your Cloud, Your Way!<br>
<br>
ownCloud GmbH, GF: Markus Rex, Holger Dyroff<br>
Schloßäckerstrasse 26a, 90443 Nürnberg, HRB 28050 (AG Nürnberg)</body></html></body></html>