s4-dsdb: create a static system_session context
[samba.git] / source4 / wrepl_server / wrepl_server.c
index a33a3d685e59fef9e8fc144678041dbe4c775141..81ab31eb9d5ab6bb592992163099d024f0c6d63f 100644 (file)
@@ -40,7 +40,7 @@ static struct ldb_context *wins_config_db_connect(TALLOC_CTX *mem_ctx,
 {
        return ldb_wrap_connect(mem_ctx, ev_ctx, lp_ctx, private_path(mem_ctx, 
                                lp_ctx, lp_wins_config_url(lp_ctx)),
-                               system_session(mem_ctx, lp_ctx), NULL, 0, NULL);
+                               system_session(lp_ctx), NULL, 0);
 }
 
 static uint64_t wins_config_db_get_seqnumber(struct ldb_context *ldb)