diff options
Diffstat (limited to 'source4/ntptr/simple_ldb')
-rw-r--r-- | source4/ntptr/simple_ldb/ntptr_simple_ldb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/ntptr/simple_ldb/ntptr_simple_ldb.c b/source4/ntptr/simple_ldb/ntptr_simple_ldb.c index 78280e294b..ebd6eb4f46 100644 --- a/source4/ntptr/simple_ldb/ntptr_simple_ldb.c +++ b/source4/ntptr/simple_ldb/ntptr_simple_ldb.c @@ -40,7 +40,8 @@ */ static struct ldb_context *sptr_db_connect(TALLOC_CTX *mem_ctx) { - return ldb_wrap_connect(mem_ctx, lp_spoolss_url(), 0, NULL); + return ldb_wrap_connect(mem_ctx, lp_spoolss_url(), system_session(mem_ctx), + NULL, 0, NULL); } static int sptr_db_search(struct ldb_context *ldb, |