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

(ITS#7406) Search with scope for newer entries don't work



Full_Name: Andrea Stefanello
Version: 2.4.23-r1 
OS: Gentoo Base System release 1.12.14
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (213.21.176.129)


Hi,

i have this problem , searching a just created entries using base DN OU doesn't
works, searching with his real base DN works.
This happened with all new entries.

This is an example :

SEARCH USING BASE ou=mail : 

#ldapsearch -b ou=mail,OTHER OU-ROOTDN mailaddress=MAILADDRESS

doesn't find nothing .

SEARCH USING BASE cn=DOMAIN.COM,ou=mail,OTHER OU-ROOTDN : 

#ldapsearch -b cn=DOMAIN.COM,ou=mail,OTHER OU-ROOTDN mailaddress=MAILADDRESS

find the entry.

The scope used is "sub".
After a couple of hour(i think 2 hours) the entry can be found even with the
first query, using the "contenitor" ou just like somethings appenned inside the
DB.

There is a way to find out why we have this behaviour ?
Can it be a index problem ? (mailAddress index is ok  otherwise the second query
shall  not work, right?)
Can i force something on ldap to resync something inside to find the entry just
after is creation ?
Thanks for your answer.