mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r7677: fixed ldap server to honor 'private path'
(This used to be commit f6abed5660
)
This commit is contained in:
parent
8047db6e4b
commit
fa165a688c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user