summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/common
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-01-06 09:03:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:37:07 -0500
commitf29ea516f99a250765c8a718d7212577167f7931 (patch)
tree2e5e1f7528846db5788f85588d65f497ef3fd8d8 /source4/lib/ldb/common
parent3137e4f2fe036824984352edf618a8eddde17c51 (diff)
downloadsamba-f29ea516f99a250765c8a718d7212577167f7931.tar.gz
samba-f29ea516f99a250765c8a718d7212577167f7931.tar.bz2
samba-f29ea516f99a250765c8a718d7212577167f7931.zip
r20581: - the ldb modules have explicit hooks for extended operations
so call them - reorder the request operations first all with explixit hooks metze (This used to be commit aababcbb05ad476507bba35723eaef01d18b4d4e)
Diffstat (limited to 'source4/lib/ldb/common')
-rw-r--r--source4/lib/ldb/common/ldb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/ldb/common/ldb.c b/source4/lib/ldb/common/ldb.c
index 9b4386547c..28fe34c767 100644
--- a/source4/lib/ldb/common/ldb.c
+++ b/source4/lib/ldb/common/ldb.c
@@ -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);