1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-05 12:23:50 +03:00

r20581: - the ldb modules have explicit hooks for extended operations

so call them
- reorder the request operations first all with explixit hooks

metze
This commit is contained in:
Stefan Metzmacher
2007-01-06 09:03:28 +00:00
committed by Gerald (Jerry) Carter
parent a4d5e0126c
commit aababcbb05
2 changed files with 6 additions and 2 deletions

View File

@@ -533,6 +533,10 @@ int ldb_request(struct ldb_context *ldb, struct ldb_request *req)
FIRST_OP(ldb, rename);
ret = module->ops->rename(module, req);
break;
case LDB_EXTENDED:
FIRST_OP(ldb, extended);
ret = module->ops->extended(module, req);
break;
case LDB_SEQUENCE_NUMBER:
FIRST_OP(ldb, sequence_number);
ret = module->ops->sequence_number(module, req);

View File

@@ -651,9 +651,9 @@ enum ldb_request_type {
LDB_DELETE,
LDB_RENAME,
LDB_EXTENDED,
LDB_SEQUENCE_NUMBER,
LDB_REQ_REGISTER_CONTROL,
LDB_REQ_REGISTER_PARTITION,
LDB_SEQUENCE_NUMBER
LDB_REQ_REGISTER_PARTITION
};
enum ldb_reply_type {