summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/samdb.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-09-02 13:36:54 +1000
committerAndrew Tridgell <tridge@samba.org>2009-09-02 18:19:55 +1000
commit79255a9384e16a37602028fb0960acf9fc1eb257 (patch)
tree6a11bca3cb2544efa9e9ad5a15a2540a048cd078 /source4/dsdb/samdb/samdb.h
parent67bf17598bd755ac07952fc44ce27031478d5503 (diff)
downloadsamba-79255a9384e16a37602028fb0960acf9fc1eb257.tar.gz
samba-79255a9384e16a37602028fb0960acf9fc1eb257.tar.bz2
samba-79255a9384e16a37602028fb0960acf9fc1eb257.zip
change the dsdb_control_current_partition to not include internal variables
This structures was used in two ways. In one way it held variables that are logically internal to the partition module, and in the other way it was used to pass the partition DN down to other modules. This change makes the structure contain just the dn which is being passed down. This change is part of the support for linked attributes. We will be passing this control down from above the partition module to force which partition a request acts upon. The partition module now only adds this control if it isn't already there.
Diffstat (limited to 'source4/dsdb/samdb/samdb.h')
-rw-r--r--source4/dsdb/samdb/samdb.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/source4/dsdb/samdb/samdb.h b/source4/dsdb/samdb/samdb.h
index 1493345b9d..4a40f6e623 100644
--- a/source4/dsdb/samdb/samdb.h
+++ b/source4/dsdb/samdb/samdb.h
@@ -45,15 +45,11 @@ struct dsdb_control_current_partition {
/*
* this is the version of the dsdb_control_current_partition
* version 0: initial implementation
+ * version 1: got rid of backend and module fields
*/
-#define DSDB_CONTROL_CURRENT_PARTITION_VERSION 0
+#define DSDB_CONTROL_CURRENT_PARTITION_VERSION 1
uint32_t version;
-
struct ldb_dn *dn;
-
- const char *backend;
-
- struct ldb_module *module;
};
#define DSDB_CONTROL_REPLICATED_UPDATE_OID "1.3.6.1.4.1.7165.4.3.3"