From 491e89fa1c8dc4df327866c09cae941578209243 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 28 Sep 2010 10:46:03 -0700 Subject: ldb-tdb: ignore failure to register control on rootdse this is expected for non-sam LDBs --- source4/lib/ldb/ldb_tdb/ldb_tdb.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/source4/lib/ldb/ldb_tdb/ldb_tdb.c b/source4/lib/ldb/ldb_tdb/ldb_tdb.c index c421dda791..7f8342b067 100644 --- a/source4/lib/ldb/ldb_tdb/ldb_tdb.c +++ b/source4/lib/ldb/ldb_tdb/ldb_tdb.c @@ -1324,10 +1324,7 @@ static int ltdb_init_rootdse(struct ldb_module *module) ret = ldb_mod_register_control(module, LDB_CONTROL_PERMISSIVE_MODIFY_OID); - if (ret != LDB_SUCCESS) { - ldb_debug(ldb, LDB_DEBUG_TRACE, "ldb_tdb: " - "Unable to register control with rootdse!"); - } + /* ignore errors on this - we expect it for non-sam databases */ /* there can be no module beyond the backend, just return */ return LDB_SUCCESS; -- cgit