ldb_rename()
tridge at samba.org
tridge at samba.org
Tue Oct 19 07:24:26 GMT 2004
Metze,
> does that work?, because ltdb_add() also tries to call ltdb_lock().
yes, tdb locks are recursive (and the 2nd lock doesn't need to do any
system calls, its essentially free).
> yep, and what is is that deleting of the new record fails too?
no matter what approach you take it is possible to find something you
can't back out of. All I can tell you is that ltdb_delete() is
guaranteed not to fail if you have just added the record (unless you
have database corruption).
Cheers, Tridge
More information about the samba-technical
mailing list