summaryrefslogtreecommitdiff
path: root/source4/nbt_server
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-05-29 23:46:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:43 -0500
commit0c7b82e5f6063de4114de21cf854ac67346e31f6 (patch)
treecc66c4f23e7029eae3be6edaf09d194d71016d47 /source4/nbt_server
parent787d67c2cd780656cb5e6c0884c485f287b72c49 (diff)
downloadsamba-0c7b82e5f6063de4114de21cf854ac67346e31f6.tar.gz
samba-0c7b82e5f6063de4114de21cf854ac67346e31f6.tar.bz2
samba-0c7b82e5f6063de4114de21cf854ac67346e31f6.zip
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)
Diffstat (limited to 'source4/nbt_server')
-rw-r--r--source4/nbt_server/wins/wins_ldb.c15
1 files changed, 0 insertions, 15 deletions
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
};