From: Stefan Metzmacher Date: Tue, 4 Feb 2020 15:15:53 +0000 (+0100) Subject: s4:param: make use of secrets_db_create() in provision_store_self_join() X-Git-Tag: ldb-2.1.1~189 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0344b92b652075f5679222504fe029b105f46f7b;p=thirdparty%2Fsamba.git s4:param: make use of secrets_db_create() in provision_store_self_join() Signed-off-by: Stefan Metzmacher Reviewed-by: Andreas Schneider --- diff --git a/source4/param/provision.c b/source4/param/provision.c index 395516dc3ae..ad972bbc2dc 100644 --- a/source4/param/provision.c +++ b/source4/param/provision.c @@ -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,