From c59f00805cb06f3cb90d89690e142006658972d3 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 2 Oct 2009 10:28:29 +1000 Subject: 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 --- source4/dsdb/samdb/samdb.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source4/dsdb/samdb/samdb.h') diff --git a/source4/dsdb/samdb/samdb.h b/source4/dsdb/samdb/samdb.h index d86200399a..6b83c6dc5a 100644 --- a/source4/dsdb/samdb/samdb.h +++ b/source4/dsdb/samdb/samdb.h @@ -98,6 +98,11 @@ struct dsdb_pdc_fsmo { struct ldb_dn *master_dn; }; +#define DSDB_EXTENDED_CREATE_PARTITION_OID "1.3.6.1.4.1.7165.4.4.4" +struct dsdb_create_partition_exop { + struct ldb_dn *new_dn; +}; + /* * the schema_dn is passed as struct ldb_dn in * req->op.extended.data @@ -126,4 +131,7 @@ struct dsdb_openldap_dereference_result_control { struct dsdb_openldap_dereference_result **attributes; }; +#define DSDB_PARTITION_DN "@PARTITION" +#define DSDB_PARTITION_ATTR "partition" + #endif /* __SAMDB_H__ */ -- cgit