summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/samdb.h
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/samdb.h
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/samdb.h')
-rw-r--r--source4/dsdb/samdb/samdb.h8
1 files changed, 8 insertions, 0 deletions
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__ */