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)
commit8c88e4eb1c0a606e7899091525260e8d6558ffd0
tree8bab4e2becf9fc3b3bf739e33f6f0b770128feb8
parentc4aba5ad01f5095ad7a9d0d0f1e3c6afedbbd9b7
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
source/dsdb/samdb/ldb_modules/linked_attributes.c