[Samba] ldb transaction question

d tbsky tbskyd at gmail.com
Fri Feb 24 08:23:14 UTC 2023


Andrew Bartlett <abartlet at samba.org>

> > A transaction is still active in ldb context [0x56268385f090] on
> > tdb:///usr/local/samba/private/sam.ldb
> >
> > I don't mind the command failed. but last line worried me. should I do
> > something to revert the ldb transaction or even restore my samba
> > backup?
> > is that message safe to ignore?
>
> What this means is that at the next open of that LDB for writes (if I
> recall correctly) the incomplete transaction will be removed from the
> journal, and no evidence of the failed command above will be present.
>
> It is a coding error on Samba's part not to cancel the transaction
> before returning from the tool, but not a dangerous one.

Got it. Thanks a lot for the clarification!



More information about the samba mailing list