summaryrefslogtreecommitdiff
path: root/source4/setup
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/setup
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/setup')
-rw-r--r--source4/setup/provision_partitions.ldif5
-rw-r--r--source4/setup/schema_samba4.ldif1
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/setup/provision_partitions.ldif b/source4/setup/provision_partitions.ldif
index 93fea6bc2d..5a18f98b0d 100644
--- a/source4/setup/provision_partitions.ldif
+++ b/source4/setup/provision_partitions.ldif
@@ -1,13 +1,12 @@
dn: @PARTITION
-partition: ${SCHEMADN}:${SCHEMADN_LDB}
-partition: ${CONFIGDN}:${CONFIGDN_LDB}
-partition: ${DOMAINDN}:${DOMAINDN_LDB}
replicateEntries: @ATTRIBUTES
replicateEntries: @INDEXLIST
replicateEntries: @OPTIONS
modules:${SCHEMADN}:${SCHEMADN_MOD},${BACKEND_MOD}
modules:${CONFIGDN}:${CONFIGDN_MOD},${BACKEND_MOD}
modules:${DOMAINDN}:${DOMAINDN_MOD},${BACKEND_MOD}
+modules:*:${BACKEND_MOD}
+${LDAP_BACKEND_LINE}
dn: @MODULES
@LIST: ${MODULES_LIST}${TDB_MODULES_LIST},${MODULES_LIST2}
diff --git a/source4/setup/schema_samba4.ldif b/source4/setup/schema_samba4.ldif
index 76b31f0cd7..fd663fd97b 100644
--- a/source4/setup/schema_samba4.ldif
+++ b/source4/setup/schema_samba4.ldif
@@ -181,6 +181,7 @@
#Allocated: DSDB_EXTENDED_REPLICATED_OBJECTS_OID 1.3.6.1.4.1.7165.4.4.1
#Allocated: DSDB_EXTENDED_SCHEMA_UPDATE_NOW_OID 1.3.6.1.4.1.7165.4.4.2
#Allocated: LDB_EXTENDED_SEQUENCE_NUMBER 1.3.6.1.4.1.7165.4.4.3
+#Allocated: DSDB_EXTENDED_CREATE_PARTITION_OID 1.3.6.1.4.1.7165.4.4.4
#Allocated: (middleName) attributeID: 1.3.6.1.4.1.7165.4.255.1