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

(ITS#4084) Empty glued databases prevent browsing objects in other databases one level above



Full_Name: Jean-Marc BAJET
Version: 2.3.9
OS: Redhat ES 4 2.6.9-11
URL: http://jmbajet.free.fr/bajet-20051013.zip
Submission from: (NULL) (195.167.193.126)


Empty glued databases prevent browsing objects in other databases one level
above

Redhat ES 4 2.6.9-11
Openldap 2.3.9 Berkeley Db 4.3.29

I have a directory with 2 sub-suffixes (sub1 and sub2) glued (subordinate)
together under the root suffix "mycompany":

suffix	ou=sub1, ou=div, dc=mycompany
subordinate

suffix	ou=sub2, ou=div, dc=mycompany
subordinate

suffix	dc=mycompany

Each database has his own directory
/usr/local/openldap23/var/openldap-data/sub1
/usr/local/openldap23/var/openldap-data/sub2
/usr/local/openldap23/var/openldap-data/root

0
First the directory is empty.

1
When I add the organizationalUnit "ou=Apps" under dc=mycompany" everything is
fine
When I add the organizationalUnit "ou=AppName1" under "ou=Apps, dc=mycompany"
everything is fine
(These object are map to the root database)
I can search these objects with ldapsearch or browse these objects with jxplorer
or Ldapadmin.

2
Then I add the organizationalUnit "div" : "ou=div, dc=mycompany" and everything
is fine again
I can search the object with ldapsearch or browse the entry with jxplorer or
Ldapadmin.

3
Then I add one organizationalUnit "notseen1" : "ou=notseen1, ou=div,
dc=mycompany".
The adding operation complete successfully.
These entry is map to the root database.
I can search the object with ldapsearch.

BUT I can't browse the object with jxplorer or Ldapadmin under windows
I have an error 
	Jxplorer 3.2b2 : unable to list ou=div, dc=mycompany
	Ldap Admin 0.9.8.6a : LDAP Fehler : No corresponding objects
	
See in bajet-20051012.zip the debug -1 trace : trace.txt
<= bdb_dn2id: get failed: DB_NOTFOUND: No matching key/data pair found (-30989)

At this point the databases sub1 and sub2 are still empty.


4
As long as the databases sub1 and sub2 are empty I can't browse the objects with
jxplorer or Ldapadmin added in step 3

Then :
I add the organizationalUnit "ou=sub1" under ou=div, dc=mycompany
The database corresponding to suffix ou=sub1, ou=div, dc=mycompany is now not
empty
The database corresponding to suffix ou=sub2, ou=div, dc=mycompany is still
empty
Same trouble.

5
Then
I add the organizationalUnit "ou=sub2" under ou=div, dc=mycompany
The database corresponding to suffix ou=sub1, ou=div, dc=mycompany is not empty
The database corresponding to suffix ou=sub2, ou=div, dc=mycompany is now not
empty


and NOW everything is fine I can see the object added in step 3 !