summaryrefslogtreecommitdiff
path: root/source4/ldap_server
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-06-17 07:03:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:21 -0500
commitfa165a688c5c05150fc51f286d30011b053f80ea (patch)
treea1ff398ac26e0871f162e460f8ece7072c90017d /source4/ldap_server
parent8047db6e4b9cbaccb8a21b8947f6d04a7ca3c436 (diff)
downloadsamba-fa165a688c5c05150fc51f286d30011b053f80ea.tar.gz
samba-fa165a688c5c05150fc51f286d30011b053f80ea.tar.bz2
samba-fa165a688c5c05150fc51f286d30011b053f80ea.zip
r7677: fixed ldap server to honor 'private path'
(This used to be commit f6abed5660ad8f7298eb2aebbaa25a8c355861a6)
Diffstat (limited to 'source4/ldap_server')
-rw-r--r--source4/ldap_server/ldap_rootdse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ldap_server/ldap_rootdse.c b/source4/ldap_server/ldap_rootdse.c
index 2c9f982a9a..2ceb14981b 100644
--- a/source4/ldap_server/ldap_rootdse.c
+++ b/source4/ldap_server/ldap_rootdse.c
@@ -92,7 +92,7 @@ static void *rootdse_db_connect(TALLOC_CTX *mem_ctx)
ctx->static_ptr = &ctx;
- db_path = talloc_asprintf(ctx, "tdb://%s/rootdse.ldb", dyn_PRIVATE_DIR);
+ db_path = talloc_asprintf(ctx, "tdb://%s", private_path(ctx, "rootdse.ldb"));
if (db_path == NULL) {
errno = ENOMEM;
return NULL;