slow ldap search with effective rights
Jan Kowalsky
jankow at datenkollektiv.net
Fri Jan 9 22:03:54 CET 2015
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
More information about the users
mailing list