git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9aa07e7
)
ldb-tdb: ignore failure to register control on rootdse
author
Andrew Tridgell
<tridge@samba.org>
Tue, 28 Sep 2010 17:46:03 +0000
(10:46 -0700)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 28 Sep 2010 18:36:40 +0000
(11:36 -0700)
this is expected for non-sam LDBs
source4/lib/ldb/ldb_tdb/ldb_tdb.c
patch
|
blob
|
history
diff --git
a/source4/lib/ldb/ldb_tdb/ldb_tdb.c
b/source4/lib/ldb/ldb_tdb/ldb_tdb.c
index c421dda7910af203365ab05cac49044a67f818e7..7f8342b06777365f5c55a836c00c04d34cccbbb3 100644
(file)
--- 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;