summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/samdb.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-01-16 10:57:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:43:37 -0500
commit21206f36c6f59fe5f31ecf531013ae8fee60ea63 (patch)
tree0644bdad02da4ef9e6cb93083159218720c12d92 /source4/dsdb/samdb/samdb.h
parent113666aba923522736620e82dd2f9ec822831c88 (diff)
downloadsamba-21206f36c6f59fe5f31ecf531013ae8fee60ea63.tar.gz
samba-21206f36c6f59fe5f31ecf531013ae8fee60ea63.tar.bz2
samba-21206f36c6f59fe5f31ecf531013ae8fee60ea63.zip
r20826: make the dsdb_control_current_partition struct public and allocate an oid for the
control metze (This used to be commit 684eee52e8812f6d104d8706ab059643ff4faa46)
Diffstat (limited to 'source4/dsdb/samdb/samdb.h')
-rw-r--r--source4/dsdb/samdb/samdb.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/samdb.h b/source4/dsdb/samdb/samdb.h
index 2a974affbb..17059b7ec5 100644
--- a/source4/dsdb/samdb/samdb.h
+++ b/source4/dsdb/samdb/samdb.h
@@ -24,6 +24,7 @@
#define __SAMDB_H__
struct auth_session_info;
+struct dsdb_control_current_partition;
struct dsdb_extended_replicated_object;
struct dsdb_extended_replicated_objects;
@@ -35,6 +36,22 @@ struct dsdb_extended_replicated_objects;
#include "dsdb/schema/schema.h"
#include "dsdb/samdb/samdb_proto.h"
+#define DSDB_CONTROL_CURRENT_PARTITION_OID "1.3.6.1.4.1.7165.4.3.2"
+struct dsdb_control_current_partition {
+ /*
+ * this is the version of the dsdb_control_current_partition
+ * version 0: initial implementation
+ */
+#define DSDB_CONTROL_CURRENT_PARTITION_VERSION 0
+ uint32_t version;
+
+ struct ldb_dn *dn;
+
+ const char *backend;
+
+ struct ldb_module *module;
+};
+
#define DSDB_EXTENDED_REPLICATED_OBJECTS_OID "1.3.6.1.4.1.7165.4.4.1"
struct dsdb_extended_replicated_object {
struct ldb_message *msg;