git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32f7562
)
s4:param: make use of secrets_db_create() in provision_store_self_join()
author
Stefan Metzmacher
<metze@samba.org>
Tue, 4 Feb 2020 15:15:53 +0000
(16:15 +0100)
committer
Andreas Schneider
<asn@cryptomilk.org>
Wed, 5 Feb 2020 08:46:39 +0000
(08:46 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source4/param/provision.c
patch
|
blob
|
history
diff --git
a/source4/param/provision.c
b/source4/param/provision.c
index 395516dc3ae2361a98705d8102cb5963f673ec17..ad972bbc2dc26c83fb89704f3ef43f9392f0852d 100644
(file)
--- 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_c
onnect
(tmp_mem, lp_ctx);
+ /*
Create/
Open the secrets database */
+ ldb = secrets_db_c
reate
(tmp_mem, lp_ctx);
if (!ldb) {
*error_string
= talloc_asprintf(mem_ctx,