[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#3724) back_meta more sizelimit problems



On Fri, 2005-05-13 at 13:14 +0200, Pierangelo Masarati wrote:
> > Thanks. I will test the fix.
> 
> The fix is now in RE22 and in HEAD; initially I thought HEAD was not
> affected, but it was because of a dependency on the order of the
> subordinates.
> 

I've patched with this:
http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/back-
meta/search.c.diff?r1=1.60.2.17&r2=1.60.2.18&hideattic=1&sortbydate=1

I couldn't see any other altered files in the CVS view thingy.

The final case in my original example has been fixed by this. i.e. I get
an error:

bash-3.00$ ldapsearch -x -LLL -z1 "(|(uid=user1)(uid=user2))"
dn: uid=user1,ou=people,ou=basedn
uid: user1
ou: Computing Services
objectClass: inetOrgPerson
sn: Evans
cn: MDT Evans
initials: MDT

Size limit exceeded (4)


But there is still a problem with the second example: e.g. a search for
2 entries with a sizelimit of 2 gives only 1 entry with err=4.

bash-3.00$ ldapsearch -x -LLL -z2 "(|(uid=user1)(uid=user2))"
dn: uid=user1,ou=people,ou=auth,ou=basedn
uid: user1
ou: Computing Services
objectClass: inetOrgPerson
sn: Evans
cn: MDT Evans
initials: MDT

Size limit exceeded (4)

user1 is in the local bdb database. user2 in the proxy

Setting -z3 and above gives both entries with no error.

Cheers,
Martin.


-- 
-- Dr MDT Evans, Computing Services, Queen Mary, University of London