mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
73e4f35e3d
It doesn't make a difference unless the tdb2 opens a TDB1 on disk, in which case tdb1_traverse() takes a write lock on the entire file. By setting the tdb to read-only first, we simulate the old behaviour. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>