summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/dsdb/samdb/samdb.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/dsdb/samdb/samdb.c b/source4/dsdb/samdb/samdb.c
index b3ba63388d..0ccceddf6b 100644
--- a/source4/dsdb/samdb/samdb.c
+++ b/source4/dsdb/samdb/samdb.c
@@ -52,9 +52,6 @@ char *samdb_relative_path(struct ldb_context *ldb,
if (name == NULL) {
return NULL;
}
- if (name[0] == 0 || name[0] == '/' || strstr(name, ":/")) {
- return talloc_strdup(mem_ctx, name);
- }
if (strncmp("tdb://", base_url, 6) == 0) {
base_url = base_url+6;
}