Hi,

I think this is a problem of dbscan, which tries to  prettyprint the entryrdn index and seems to loop a bit.
If you do

 db_dump -d a entryrdn.db

you get the raw contents of the file , and you get much fewer records.

Ludwig

On 08/02/2017 05:49 PM, Ilias Stamatis wrote:
Hello,

I would like some help in order to understand entryrdn.db. When I do "dbscan -f entryrdn.db" I get something like:

3
  ID: 3; RDN: "ou=Groups"; NRDN: "ou=groups"

C3
    ID: 6; RDN: "cn=Accounting Managers"; NRDN: "cn=accounting managers"

P6
    ID: 3; RDN: "ou=Groups"; NRDN: "ou=groups"

I understand that 3 is this entry's ID, C3 means child of entry 3 and P6 means parent of entry 6.

What I don't understand however is why those entries are repeated again and again. For example " ID: 7; RDN: "cn=HR Managers"; NRDN: "cn=hr managers" is repeated about a dozen of times in my entryrdn. And I don't mean like a parent, child, or whatever. It is repeated lots of time as ID 7 for example (but also many times as C3, etc.).

I attach the complete output of what I get when I run "dbscan -f entryrdn.db", in order to demonstrate what I mean (my db contains almost default entries only).

So my question is; how is this database filled?

Thank you very much,
Ilias


_______________________________________________
389-devel mailing list -- 389-devel@lists.fedoraproject.org
To unsubscribe send an email to 389-devel-leave@lists.fedoraproject.org

-- 
Red Hat GmbH, http://www.de.redhat.com/, Registered seat: Grasbrunn, 
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Michael Cunningham, Michael O'Neill, Eric Shander