From d08426a1588e236b15e2cd30a15f2671b8d19391 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 12 Mar 2015 13:39:12 +0000 Subject: Remove ntdb protection from tdb_wrap Signed-off-by: Volker Lendecke Reviewed-by: Michael Adam --- lib/tdb_wrap/tdb_wrap.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'lib/tdb_wrap') diff --git a/lib/tdb_wrap/tdb_wrap.c b/lib/tdb_wrap/tdb_wrap.c index 62dce062c7c..a1bddf39486 100644 --- a/lib/tdb_wrap/tdb_wrap.c +++ b/lib/tdb_wrap/tdb_wrap.c @@ -21,7 +21,6 @@ #include "replace.h" #include "lib/util/dlinklist.h" -#include "ccan/str/str.h" #include "lib/util/debug.h" #include "tdb_wrap.h" @@ -135,14 +134,6 @@ struct tdb_wrap *tdb_wrap_open(TALLOC_CTX *mem_ctx, return NULL; } - /* If they specify a .ntdb extension, but the code hasn't been - * converted, we want to complain. */ - if (strends(name, ".ntdb")) { - DEBUG(2, ("tdb(%s): This code does not yet understand ntdb. Please report.\n", name)); - errno = EINVAL; - return NULL; - } - result = talloc(mem_ctx, struct tdb_wrap); if (result == NULL) { return NULL; -- cgit v1.2.1