summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-01-06 10:15:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:37:08 -0500
commitac0c34a9a4aba69bc51094645e585ebc415f3170 (patch)
treee40ec30c7aed89388fd04ad8e400ddd30358b4d2 /source4/dsdb/samdb/ldb_modules
parent15d9b63caff5e92d9489b0b083715f98faecb2a5 (diff)
downloadsamba-ac0c34a9a4aba69bc51094645e585ebc415f3170.tar.gz
samba-ac0c34a9a4aba69bc51094645e585ebc415f3170.tar.bz2
samba-ac0c34a9a4aba69bc51094645e585ebc415f3170.zip
r20587: prepare the DSDB_EXTENDED_REPLICATED_OBJECTS_OID handling
metze (This used to be commit ef3b325db060d43a7c2e058f6b8914b5867cd321)
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r--source4/dsdb/samdb/ldb_modules/repl_meta_data.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
index 171af52eda..803142bbb7 100644
--- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
+++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
@@ -311,10 +311,26 @@ static int replmd_modify(struct ldb_module *module, struct ldb_request *req)
return replmd_modify_originating(module, req);
}
+static int replmd_extended_replicated_objects(struct ldb_module *module, struct ldb_request *req)
+{
+ ldb_debug(module->ldb, LDB_DEBUG_TRACE, "replmd_extended_replicated_objects\n");
+ return LDB_ERR_OPERATIONS_ERROR;
+}
+
+static int replmd_extended(struct ldb_module *module, struct ldb_request *req)
+{
+ if (strcmp(req->op.extended.oid, DSDB_EXTENDED_REPLICATED_OBJECTS_OID) == 0) {
+ return replmd_extended_replicated_objects(module, req);
+ }
+
+ return ldb_next_request(module, req);
+}
+
static const struct ldb_module_ops replmd_ops = {
.name = "repl_meta_data",
.add = replmd_add,
.modify = replmd_modify,
+ .extended = replmd_extended,
};
int repl_meta_data_module_init(void)