summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
Diffstat (limited to 'source4/param')
-rw-r--r--source4/param/share_ldb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/param/share_ldb.c b/source4/param/share_ldb.c
index 0944ba30fc..1d9f77421e 100644
--- a/source4/param/share_ldb.c
+++ b/source4/param/share_ldb.c
@@ -42,8 +42,8 @@ static NTSTATUS sldb_init(TALLOC_CTX *mem_ctx, const struct share_ops *ops,
sdb = ldb_wrap_connect(*ctx, ev_ctx, lp_ctx,
private_path(*ctx, lp_ctx, "share.ldb"),
- system_session(*ctx, lp_ctx),
- NULL, 0, NULL);
+ system_session(lp_ctx),
+ NULL, 0);
if (!sdb) {
talloc_free(*ctx);