patch for user rename with tdbsam
Volker Lendecke
Volker.Lendecke at SerNet.DE
Mon Oct 10 20:28:56 GMT 2005
On Mon, Oct 10, 2005 at 02:18:02PM -0600, Jim McDonough wrote:
> Guess I should pay more attention to the samba4 commits :-/, as this is
> exactly what I was thinking would be useful here.
>
> Have you looked at it? Just wondering how much work it would be.
Haven't really looked. But there is an API:
/*
start a tdb transaction. No token is returned, as only a single
transaction is allowed to be pending per tdb_context
*/
int tdb_transaction_start(struct tdb_context *tdb)
/*
cancel the current transaction
*/
int tdb_transaction_cancel(struct tdb_context *tdb)
/*
commit the current transaction
*/
int tdb_transaction_commit(struct tdb_context *tdb)
Looks not too difficult. Tridge is probably the better one to really comment.
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20051010/1d6ef9d9/attachment.bin
More information about the samba-technical
mailing list