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

(ITS#5788) Search does not work with nested naming contexts



Full_Name: Emmanuel Duru
Version: 2.4.11
OS: Windows
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (80.78.0.137)


I want to run a directory server with a "c=fr" suffix, and a replicated subtree:
"ou=test,o=myorg,c=fr".
To do this, I define two bdb databases, the first one with a
"ou=test,o=myorg,c=fr" suffix, the second one with a "c=fr" suffix.
But when I perform a search, the entries from the first base are not returned.
For example, search with base "o=myorg,c=fr" and scope one level returns
"ou=test2,o=myorg,c=fr" but not "ou=test,o=myorg,c=fr" whereas search with base
"ou=test,o=myorg,c=fr" returns the entry.
If this is a configuration problem, please tell me what is wrong.

Here follows my slapd.conf file:

include		schema/core.schema
include		schema/cosine.schema
include		schema/inetorgperson.schema
pidfile		slapd.pid
argsfile	slapd.args
access to * attrs=userPassword
	by self write
	by anonymous auth
	by * none
access to *
	by self write
	by users read
	by anonymous read
	by * none
database	bdb
suffix		"ou=test,o=myorg,c=fr"
rootdn		"cn=manager,c=fr"
updatedn	"cn=replicator,ou=test,o=myorg,c=fr"
cachesize 	20000
checkpoint	10000 10
directory	db1
index objectClass,entryCSN,entryUUID eq
index cn,sn eq,sub
database	bdb
suffix		"c=fr"
rootdn		"cn=manager,c=fr"
rootpw		{SSHA}IcRbIFvDVZ9j6g8hWK9bbgo7xhSrMMTf
cachesize 	20000
checkpoint	10000 10
directory	db2
index objectClass,entryCSN,entryUUID eq
index cn,sn eq,sub