From 0c7b82e5f6063de4114de21cf854ac67346e31f6 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 29 May 2006 23:46:43 +0000 Subject: r15942: Remove the sync internal ldb calls altogether. This means that some modules have been disabled as well as they have not been ported to the async interface One of them is the ugly objectclass module. I hope that the change in samldb module will make the MMC happy without the need of this crappy module, we need proper handling in a decent schema module. proxy and ldb_map have also been disabled ldb_sqlite3 need to be ported as well (currenlty just broken). (This used to be commit 51083de795bdcbf649de926e86969adc20239b6d) --- source4/nbt_server/wins/wins_ldb.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'source4/nbt_server/wins') diff --git a/source4/nbt_server/wins/wins_ldb.c b/source4/nbt_server/wins/wins_ldb.c index 5c45a64413..1926977092 100644 --- a/source4/nbt_server/wins/wins_ldb.c +++ b/source4/nbt_server/wins/wins_ldb.c @@ -45,12 +45,10 @@ static int wins_ldb_verify(struct ldb_module *module, struct ldb_request *req) char *error = NULL; switch (req->operation) { - case LDB_REQ_ADD: case LDB_ASYNC_ADD: msg = req->op.add.message; break; - case LDB_REQ_MODIFY: case LDB_ASYNC_MODIFY: msg = req->op.mod.message; break; @@ -86,18 +84,6 @@ static int wins_ldb_verify(struct ldb_module *module, struct ldb_request *req) return LDB_ERR_OTHER; } -static int wins_ldb_request(struct ldb_module *module, struct ldb_request *req) -{ - switch (req->operation) { - case LDB_REQ_ADD: - case LDB_REQ_MODIFY: - return wins_ldb_verify(module, req); - default: - return ldb_next_request(module, req); - } -} - - static int wins_ldb_init(struct ldb_module *ctx) { struct winsdb_handle *h; @@ -131,7 +117,6 @@ static const struct ldb_module_ops wins_ldb_ops = { .name = "wins_ldb", .add = wins_ldb_verify, .modify = wins_ldb_verify, - .request = wins_ldb_request, .init_context = wins_ldb_init }; -- cgit