[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#3724) back_meta more sizelimit problems
Full_Name: Martin Evans
Version: 2.2.23 with cvs its3720 patch.
OS: Solaris 8/Linux 2.6.10 (FC3)
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (138.37.8.140)
Hi,
I am seeing some more sizelimit, oddities. I have a back-meta backend glued into
a local bdb database backend under (ou=ccc,ou=auth,dc=basedn).
If user1 is in the local bdb backend and user2 is in the proxied tree, I see:
A search without sizelimits behaves properly:
bash-3.00$ ldapsearch -x -LLL "(|(uid=user1)(uid=user2))"
dn: uid=user1,ou=people,ou=auth,dc=basedn
uid: user1
ou: Computing Services
objectClass: inetOrgPerson
sn: Evans
cn: MDT Evans
initials: MDT
dn: uid=user2,ou=aaa,ou=bbb,ou=ccc,ou=auth,dc=basedn
sn: Access to Knowledge Conference
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: top
uid: user2
The same, but with a sizelimit of 2, only returns 1 entry + error:
bash-3.00$ ldapsearch -x -z2 -LLL "(|(uid=user1)(uid=user2))"
dn: uid=user1,ou=people,ou=auth,dc=basedn
uid: user1
ou: Computing Services
objectClass: inetOrgPerson
sn: Evans
cn: MDT Evans
initials: MDT
Size limit exceeded (4)
Same again with a sizelimit of 1 (no error is given):
bash-3.00$ ldapsearch -x -z1 -LLL "(|(uid=user1)(uid=user2))"
dn: uid=user1,ou=people,ou=auth,dc=basedn
uid: user1
ou: Computing Services
objectClass: inetOrgPerson
sn: Evans
cn: MDT Evans
initials: MDT
These tests were applied to 2.2.23 with the patch from its#3720.
Similar searches with users that are both in the bdb or in the proxied tree
behave properly. I will attempt to find and patch a test case or provide further
information if people have problems reproducing this.
Cheers,
Martin.