summaryrefslogtreecommitdiffstats
path: root/source4/cldap_server/rootdse.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/cldap_server/rootdse.c')
-rw-r--r--source4/cldap_server/rootdse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/cldap_server/rootdse.c b/source4/cldap_server/rootdse.c
index 966b90889c..0690e8769a 100644
--- a/source4/cldap_server/rootdse.c
+++ b/source4/cldap_server/rootdse.c
@@ -51,7 +51,7 @@ static void cldapd_rootdse_fill(struct cldapd_server *cldapd,
int ret = 0;
int ldb_ret = -1;
- basedn = ldb_dn_explode(mem_ctx, "");
+ basedn = ldb_dn_new(mem_ctx, cldapd->samctx, NULL);
if (basedn == NULL) goto nomem;
scope = LDB_SCOPE_BASE;