Rework linked_attributes module for the REPLACE case.
authorAndrew Bartlett <abartlet@samba.org>
Wed, 16 Jan 2008 04:14:05 +0000 (15:14 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 16 Jan 2008 04:14:05 +0000 (15:14 +1100)
commite72760b218e60acfc04c6c22a43820683172df09
tree8f030b0a911fb8f91e1efde3e08fbf295eeec2c0
parente02e67ec36ecc5f5af2fcf3a7c6b0282173df8aa
Rework linked_attributes module for the REPLACE case.

This moves to a smarter 'find the delta' based operation of the linked
attributes module, when the caller asks for a 'replace' of the link
source.  Previously we would spray operations all over the database,
even if the net result was just to modify one record.

This also means we need the transaction safety less, which may be
useful for some LDAP backends that don't provide this functionality on
the LDAP server.

Andrew Bartlett
(This used to be commit 8c88e4eb1c0a606e7899091525260e8d6558ffd0)
source4/dsdb/samdb/ldb_modules/linked_attributes.c