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

Re: (ITS#3724) back_meta more sizelimit problems

> I've patched with this:
> http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/back-
> meta/search.c.diff?r1=

That's correct :)

> 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.

This is working for me, regardless of the order of the local and proxied
database.  Can you post your slapd.conf?  I'm posting the relevant part of
mine (follow the coments if you want to replay).


# run test003; then put in slapd.conf:
database        bdb
suffix          "o=University of Michigan,c=US"
directory       ./testrun/db.1.a
rootdn          "cn=Manager,o=University of Michigan,c=US"
rootpw          secret
index           objectClass     eq
index           cn,sn,uid       pres,eq,sub

database        meta
suffix          "o=Meta,c=US"

uri             "ldap://:9011/o=Meta,c=US";
suffixmassage   "o=Meta,c=US" "o=University of Michigan,c=US"

database        bdb
suffix          "c=US"
directory       ./testrun/db.2.a
rootdn          "cn=Manager,c=US"
rootpw          secret
index           objectClass     eq

# then create dir "./testrun/db.2.a", run slapd, load

dn: c=US
objectClass: country
c: US

# into the glue database and search for "(uid=bjorn)" with -z1 and -z2;
# you will find it once in the local and once in the proxied database.

Pierangelo Masarati

    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497