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:
committed by
Gerald (Jerry) Carter
parent
eb1d37c5a9
commit
f6abed5660
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user