diff options
author | Volker Lendecke <vl@samba.org> | 2015-03-12 13:39:40 +0000 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2015-03-17 11:30:51 +0100 |
commit | fe81b50d6547707a5ba216629b5af15a6299877c (patch) | |
tree | fd81cf6839cca4a944a27ca52aadd814104639ed /lib/dbwrap | |
parent | d08426a1588e236b15e2cd30a15f2671b8d19391 (diff) | |
download | samba-fe81b50d6547707a5ba216629b5af15a6299877c.tar.gz |
Remove ntdb protection from db_open_tdb
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'lib/dbwrap')
-rw-r--r-- | lib/dbwrap/dbwrap_tdb.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/dbwrap/dbwrap_tdb.c b/lib/dbwrap/dbwrap_tdb.c index a76d90f10bc..2bc123e36d3 100644 --- a/lib/dbwrap/dbwrap_tdb.c +++ b/lib/dbwrap/dbwrap_tdb.c @@ -24,7 +24,6 @@ #include "lib/tdb_wrap/tdb_wrap.h" #include "lib/util/util_tdb.h" #include "system/filesys.h" -#include "ccan/str/str.h" #include "lib/param/param.h" struct db_tdb_ctx { @@ -409,12 +408,6 @@ struct db_context *db_open_tdb(TALLOC_CTX *mem_ctx, struct db_tdb_ctx *db_tdb; struct stat st; - /* Extra paranoia. */ - if (name && strends(name, ".ntdb")) { - DEBUG(0, ("can't try to open %s with tdb!\n", name)); - return NULL; - } - result = talloc_zero(mem_ctx, struct db_context); if (result == NULL) { DEBUG(0, ("talloc failed\n")); |