slow ldap search with effective rights

Shaw, Brian bshaw at vsvinc.com
Mon Jan 12 18:35:27 CET 2015


 

Jan, 

 Do you have any attribute indexes enabled in any of your environments? 

Brian 

On 2015-01-09 4:03 pm, Jan Kowalsky wrote: 

> 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
> users at lists.kolab.org
> https://lists.kolab.org/mailman/listinfo/users [1]
 

Links:
------
[1] https://lists.kolab.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20150112/229e907e/attachment.html>


More information about the users mailing list