mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s4:param: make use of secrets_db_create() in provision_store_self_join()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
32f7562147
commit
0344b92b65
@ -345,8 +345,8 @@ NTSTATUS provision_store_self_join(TALLOC_CTX *mem_ctx, struct loadparm_context
|
||||
goto out;
|
||||
}
|
||||
|
||||
/* Open the secrets database */
|
||||
ldb = secrets_db_connect(tmp_mem, lp_ctx);
|
||||
/* Create/Open the secrets database */
|
||||
ldb = secrets_db_create(tmp_mem, lp_ctx);
|
||||
if (!ldb) {
|
||||
*error_string
|
||||
= talloc_asprintf(mem_ctx,
|
||||
|
Loading…
Reference in New Issue
Block a user