[PATCH] Samba 4 fix for bugzilla #4958

Stefan (metze) Metzmacher metze at samba.org
Tue Sep 18 06:26:48 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Please find attached an updated patch that addresses the
> case-change-only rename using delete/add.  I have added comments in the
> patch to describe why we do add/delete in some cases and delete/add in
> another, as well as how we could lose data in the delete/add case if the
> delete succeeds and the add fails.  Given what we are trying to
> accomplish, I can't think of any other way to handle this because we
> don't have any transaction semantics available.

When using the ldb_tdb backend we always have a tdb transaction per ldb
call. That means all modules can reply on all changes are applied or
none. While the LDAP backends don't provide transactions.

metze
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFG72+om70gjA5TCD8RAtB3AJ47Xx+mfjWtaSJmXIcmkXxWHToMagCgyVbp
qItK81p25F13m92yGceYix0=
=oext
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list