mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r20587: prepare the DSDB_EXTENDED_REPLICATED_OBJECTS_OID handling
metze
(This used to be commit ef3b325db0
)
This commit is contained in:
parent
15d9b63caf
commit
ac0c34a9a4
@ -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)
|
||||
|
@ -34,6 +34,11 @@ struct dsdb_control_replicated_object {
|
||||
uint8_t __dummy;
|
||||
};
|
||||
|
||||
#define DSDB_EXTENDED_REPLICATED_OBJECTS_OID "1.3.6.1.4.1.7165.4.4.1"
|
||||
struct dsdb_extended_replicated_objects {
|
||||
uint8_t __dummy;
|
||||
};
|
||||
|
||||
#include "librpc/gen_ndr/security.h"
|
||||
#include "lib/ldb/include/ldb.h"
|
||||
#include "librpc/gen_ndr/samr.h"
|
||||
|
Loading…
Reference in New Issue
Block a user