diff options
Diffstat (limited to 'lib/ldb/ldb_tdb')
-rw-r--r-- | lib/ldb/ldb_tdb/ldb_tdb.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/ldb/ldb_tdb/ldb_tdb.c b/lib/ldb/ldb_tdb/ldb_tdb.c index a85e41d987..ebde8a34f9 100644 --- a/lib/ldb/ldb_tdb/ldb_tdb.c +++ b/lib/ldb/ldb_tdb/ldb_tdb.c @@ -1418,14 +1418,8 @@ static int ltdb_handle_request(struct ldb_module *module, static int ltdb_init_rootdse(struct ldb_module *module) { - struct ldb_context *ldb; - int ret; - - ldb = ldb_module_get_ctx(module); - - ret = ldb_mod_register_control(module, - LDB_CONTROL_PERMISSIVE_MODIFY_OID); /* ignore errors on this - we expect it for non-sam databases */ + ldb_mod_register_control(module, LDB_CONTROL_PERMISSIVE_MODIFY_OID); /* there can be no module beyond the backend, just return */ return LDB_SUCCESS; |