dsdb: Do not create a transaction in partition_init()
authorAndrew Bartlett <abartlet@samba.org>
Mon, 9 Apr 2018 05:51:57 +0000 (17:51 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 12 Apr 2018 03:15:16 +0000 (05:15 +0200)
commitbd5f6f5a8327398bb261582d0e2c2de23854ad5d
tree5a17d644c8e881500fce7c5afe8ea9067d43b002
parent23ef25faf5f60d4fcbaec28ffebd249556028c75
dsdb: Do not create a transaction in partition_init()

This will allow us to lock the databases for read during all of the Samba init
hooks.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13379

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
source4/dsdb/samdb/ldb_modules/partition_metadata.c