s4:dsdb Reload partition metadata if the main db updates
commite62200e253a393ce0a427ff315267efbd2eaeeea
authorAndrew Bartlett <abartlet@samba.org>
Wed, 14 Oct 2009 01:57:03 +0000 (14 12:57 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 21 Oct 2009 11:43:52 +0000 (21 22:43 +1100)
tree263e213ca3b732f3566fef86dee0ba6cd08d7668
parent18035251add0e8c39f5fe7976881d6fd32c1bb9a
s4:dsdb Reload partition metadata if the main db updates

This uses the fact that the primary DB does not change often.  Before
each operation, we see if the sequence number has changed.

Andrew Bartlett
source4/dsdb/samdb/ldb_modules/partition.c
source4/dsdb/samdb/ldb_modules/partition.h
source4/dsdb/samdb/ldb_modules/partition_init.c