#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 {
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"));