mirror of
https://github.com/samba-team/samba.git
synced 2025-02-24 13:57:43 +03:00
Remove ntdb protection from tdb_wrap
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
parent
23390f1fee
commit
d08426a158
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user