diff options
author | Volker Lendecke <vl@samba.org> | 2015-03-12 13:39:12 +0000 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2015-03-17 11:30:51 +0100 |
commit | d08426a1588e236b15e2cd30a15f2671b8d19391 (patch) | |
tree | ec2e29d29cb35176f250f1568e4ec7faf531decb /lib/tdb_wrap | |
parent | 23390f1fee86346642f44a3eb9c11e43f76c56c7 (diff) | |
download | samba-d08426a1588e236b15e2cd30a15f2671b8d19391.tar.gz |
Remove ntdb protection from tdb_wrap
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'lib/tdb_wrap')
-rw-r--r-- | lib/tdb_wrap/tdb_wrap.c | 9 |
1 files changed, 0 insertions, 9 deletions
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; |