summaryrefslogtreecommitdiff
path: root/source4/ldap_server
diff options
context:
space:
mode:
Diffstat (limited to 'source4/ldap_server')
-rw-r--r--source4/ldap_server/ldap_simple_ldb.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/source4/ldap_server/ldap_simple_ldb.c b/source4/ldap_server/ldap_simple_ldb.c
index a32cc3b5e0..806266b7a5 100644
--- a/source4/ldap_server/ldap_simple_ldb.c
+++ b/source4/ldap_server/ldap_simple_ldb.c
@@ -59,22 +59,6 @@ NTSTATUS sldb_Init(struct ldapsrv_partition *partition, struct ldapsrv_connectio
{
TALLOC_CTX *mem_ctx = talloc_new(partition);
struct ldb_context *ldb;
- const char *url;
- url = lp_parm_string(-1, "ldapsrv", "samdb");
- if (url) {
-
- ldb = ldb_wrap_connect(mem_ctx, url, conn->session_info,
- NULL, 0, NULL);
- if (ldb == NULL) {
- talloc_free(mem_ctx);
- return NT_STATUS_INTERNAL_DB_CORRUPTION;
- }
- talloc_steal(partition, ldb);
- partition->private = ldb;
- talloc_free(mem_ctx);
- return NT_STATUS_OK;
- }
-
ldb = samdb_connect(mem_ctx, conn->session_info);
if (ldb == NULL) {
talloc_free(mem_ctx);