diff options
author | Andrew Bartlett <abartlet@samba.org> | 2006-06-07 21:03:38 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:08:57 -0500 |
commit | 247af0d569594512a24e83156e257b8d4d356883 (patch) | |
tree | 01cc382ba950b92059d8dd3686016333caf043b1 /source4/lib/ldb/common/ldb_modules.c | |
parent | 2ab5bafd7296e4c2a415a4fcbe8a2ba7b4373699 (diff) | |
download | samba-247af0d569594512a24e83156e257b8d4d356883.tar.gz samba-247af0d569594512a24e83156e257b8d4d356883.tar.xz samba-247af0d569594512a24e83156e257b8d4d356883.zip |
r16083: Make it possible to initialise a backend module, without it setting up
the whole ldb structure.
Because the sequence number was a fn pointer on the main ldb context,
turn it into a full request (currently sync).
Andrew Bartlett
(This used to be commit fbe7d0ca9031e292b2d2fae263233c973982980a)
Diffstat (limited to 'source4/lib/ldb/common/ldb_modules.c')
-rw-r--r-- | source4/lib/ldb/common/ldb_modules.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/ldb/common/ldb_modules.c b/source4/lib/ldb/common/ldb_modules.c index 6f36bdc5e94..d09579510e9 100644 --- a/source4/lib/ldb/common/ldb_modules.c +++ b/source4/lib/ldb/common/ldb_modules.c @@ -366,6 +366,9 @@ int ldb_next_request(struct ldb_module *module, struct ldb_request *request) case LDB_RENAME: FIND_OP(module, rename); return module->ops->rename(module, request); + case LDB_SEQUENCE_NUMBER: + FIND_OP(module, sequence_number); + return module->ops->sequence_number(module, request); default: FIND_OP(module, request); return module->ops->request(module, request); |