summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules/config.mk
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-10-02 10:28:29 +1000
committerAndrew Bartlett <abartlet@samba.org>2009-10-21 22:43:50 +1100
commitc59f00805cb06f3cb90d89690e142006658972d3 (patch)
tree0c6a261d2aaa3893204d32e64db5f0b66b9bdbca /source4/dsdb/samdb/ldb_modules/config.mk
parent9393d94ad48160d3af665ed7362683b0a59ce72d (diff)
downloadsamba-c59f00805cb06f3cb90d89690e142006658972d3.tar.gz
samba-c59f00805cb06f3cb90d89690e142006658972d3.tar.bz2
samba-c59f00805cb06f3cb90d89690e142006658972d3.zip
s4:dsdb Rework modules create new partitions at runtime
This is done by passing an extended operation to the partitions module to extend the @PARTITION record and to extend the in-memory list of partitions. This also splits things up into module parts that belong above and below repl_meta_data Also slit the partitions module into two files due to the complexity of the code Andrew Barltett
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules/config.mk')
-rw-r--r--source4/dsdb/samdb/ldb_modules/config.mk15
1 files changed, 14 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/config.mk b/source4/dsdb/samdb/ldb_modules/config.mk
index ea4e722822..40e37a47fc 100644
--- a/source4/dsdb/samdb/ldb_modules/config.mk
+++ b/source4/dsdb/samdb/ldb_modules/config.mk
@@ -235,7 +235,20 @@ INIT_FUNCTION = LDB_MODULE(partition)
# End MODULE ldb_partition
################################################
-ldb_partition_OBJ_FILES = $(dsdbsrcdir)/samdb/ldb_modules/partition.o
+ldb_partition_OBJ_FILES = $(dsdbsrcdir)/samdb/ldb_modules/partition.o \
+ $(dsdbsrcdir)/samdb/ldb_modules/partition_init.o
+$(eval $(call proto_header_template,$(dsdbsrcdir)/samdb/ldb_modules/partition_proto.h,$(ldb_partition_OBJ_FILES:.o=.c)))
+
+################################################
+# Start MODULE ldb_partition
+[MODULE::ldb_new_partition]
+SUBSYSTEM = LIBLDB
+PRIVATE_DEPENDENCIES = LIBTALLOC LIBEVENTS SAMDB DSDB_MODULE_HELPERS
+INIT_FUNCTION = LDB_MODULE(new_partition)
+# End MODULE ldb_partition
+################################################
+
+ldb_new_partition_OBJ_FILES = $(dsdbsrcdir)/samdb/ldb_modules/new_partition.o
################################################
# Start MODULE ldb_update_kt