1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-16 20:23:50 +03:00

r7677: fixed ldap server to honor 'private path'

This commit is contained in:
Andrew Tridgell
2005-06-17 07:03:32 +00:00
committed by Gerald (Jerry) Carter
parent eb1d37c5a9
commit f6abed5660

View File

@@ -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;