<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-family: Verdana,Geneva,sans-serif'>
<p>Jan,</p>
<p>  Do you have any attribute indexes enabled in any of your environments?</p>
<p> </p>
<p>Brian</p>
<p> </p>
<div> </div>
<p>On 2015-01-09 4:03 pm, Jan Kowalsky wrote:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<pre>Hi all,

maybe some of the ldap experts on the list can help me:

I have a query with effective rights from inside an registration form
(it's the "hosted-kolab" registration form which ships with kolab).

The query is:

/usr/lib/mozldap/ldapsearch -x -h ldap.datenkollektiv.net -p 389 -b
'ou=Resources,dc=example,dc=com' -D 'uid=registration-service,ou=Special
Users,dc=datenkollektiv,dc=net' -w PASSWD  -J
'1.3.6.1.4.1.42.2.27.9.5.2:true:dn:uid=registration-service,ou=Special
Users,dc=primary-domain,dc=com' -s base "(objectclass=*)" "*"

The Output is:

dn: ou=People,dc=example,dc=com
objectClass: top
objectClass: organizationalunit
ou: People
entryLevelRights: vad
attributeLevelRights: objectClass:rsc, aci:rsc, ou:rsc,
businessCategory:rsc,
 description:rsc, destinationIndicator:rsc,
facsimileTelephoneNumber:rsc, int
 ernationalISDNNumber:rsc, l:rsc, physicalDeliveryOfficeName:rsc,
postalAddre
 ss:rsc, postalCode:rsc, postOfficeBox:rsc, preferredDeliveryMethod:rsc,
regi
 steredAddress:rsc, searchGuide:rsc, seeAlso:rsc, st:rsc, street:rsc,
telepho
 neNumber:rsc, teletexTerminalIdentifier:rsc, telexNumber:rsc,
userPassword:r
 sc, x121Address:rsc

This query tooks from one to a couple of seconds with the effect that
the webpage frontend with the register form is very slow (there are 14
queries like this).

On an test-server which is widely configured the same the query is very
fast. The same query on my productive server for my primary domain also.
It's a small tree with a couple of hundreds entries.

Any idea?

Thanks and regards
Jan

_______________________________________________
users mailing list
<a href="mailto:users@lists.kolab.org">users@lists.kolab.org</a>
<a href="https://lists.kolab.org/mailman/listinfo/users">https://lists.kolab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
</body></html>