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

Re: Deleting subtree - server side



Arunachalam Parthasarathy wrote:

Thanks for the reply. But, is move subtree operation (implemented in openldap server side) is a combination of delete subtree and add right?

Or is it like changing the references in the dn2id file?

No, if it were like that it would be uniformly available for all databases.

It actually consists in changing the parent/child relationship between two entries, exploiting underlying Berkeley DB transactions while performing an LDAP atomic operation (rename). This is possible because slapd-hdb does not store the full name of an entry within the entry itself, but only parent/child relationships (the "h" stands for "hierarchical" and not for "Howard", the author ;), from which the full DN is recursively reconstructed.

p.



Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
---------------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Email:   pierangelo.masarati@sys-net.it
---------------------------------------