From 30d707b8ae4c53140e0215090f7a3c8936ab2b47 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 12 Feb 2004 05:59:03 +0000 Subject: tdbsam & smb_panic merge from 3.0 (initial tests are ok but I'll setup a HEAD PDC tomorrow) (This used to be commit c57b24ee49aee0f0687742da7f8d741c62f6effe) --- source3/printing/printing_db.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/printing') diff --git a/source3/printing/printing_db.c b/source3/printing/printing_db.c index 0e0fb1b51d..d402aa366f 100644 --- a/source3/printing/printing_db.c +++ b/source3/printing/printing_db.c @@ -96,7 +96,8 @@ struct tdb_print_db *get_print_db_byname(const char *printername) done_become_root = True; } - p->tdb = tdb_open_log(printdb_path, 5000, TDB_DEFAULT, O_RDWR|O_CREAT, 0600); + p->tdb = tdb_open_ex(printdb_path, 5000, TDB_DEFAULT, O_RDWR|O_CREAT, + 0600, smbd_tdb_log); if (done_become_root) unbecome_root(); -- cgit