ldb: Extended LDB requests under transaction

Andrew Bartlett abartlet at samba.org
Tue Sep 13 15:03:25 MDT 2011

On Tue, 2011-09-13 at 15:23 +0200, Matthias Dieter Wallnöfer wrote:
> Hi LDB developers,
> currently LDB does not require transactions when an extended operation 
> is launched. A long term goal from my side is to provide the extended 
> password change mechanism: 
> https://bugzilla.samba.org/show_bug.cgi?id=5611. Hence I'm worrying if 
> we need to apply transactions also on this type of request - my patch 
> proposal: 
> http://gitweb.samba.org/samba.git/?p=mdw/samba.git;a=commitdiff;h=45bd4197168b4a6642e33386d21d9168ebf8f7f9. 
> What do you think?

Other extended operations include Start-TLS, so it's not clear that by
definition, all extended operations need to be covered by transactions.
The module that implements such an extended operation may wish to start
it's own transaction, but I don't think we can do so globally.

Andrew Bartlett

Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org

More information about the samba-technical mailing list