diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-09-28 10:46:03 -0700 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-09-28 11:36:40 -0700 |
commit | 491e89fa1c8dc4df327866c09cae941578209243 (patch) | |
tree | 738cf59825e2219100968f08c9376e0f817afb6e /source4 | |
parent | 9aa07e72c88c9e4f52546597610019c8596ea4cc (diff) | |
download | samba-491e89fa1c8dc4df327866c09cae941578209243.tar.gz samba-491e89fa1c8dc4df327866c09cae941578209243.tar.bz2 samba-491e89fa1c8dc4df327866c09cae941578209243.zip |
ldb-tdb: ignore failure to register control on rootdse
this is expected for non-sam LDBs
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/ldb/ldb_tdb/ldb_tdb.c | 5 |
1 files changed, 1 insertions, 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; |