From 8b4dd99dae73462e019d160c94b9a1e92f30eec4 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 25 Aug 2011 00:36:05 +0200 Subject: s3:passdb: convert machine_sid to use dbwrap wrapper functions only Avoid direct use of the db_record and db_context structs. --- source3/passdb/machine_sid.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source3/passdb/machine_sid.c b/source3/passdb/machine_sid.c index 458ffc619d..b242cff6e6 100644 --- a/source3/passdb/machine_sid.c +++ b/source3/passdb/machine_sid.c @@ -204,16 +204,16 @@ struct dom_sid *get_global_sam_sid(void) smb_panic("could not open secrets db"); } - if (db->transaction_start(db) != 0) { + if (dbwrap_transaction_start(db) != 0) { smb_panic("could not start transaction on secrets db"); } if (!(global_sam_sid = pdb_generate_sam_sid())) { - db->transaction_cancel(db); + dbwrap_transaction_cancel(db); smb_panic("could not generate a machine SID"); } - if (db->transaction_commit(db) != 0) { + if (dbwrap_transaction_commit(db) != 0) { smb_panic("could not start commit secrets db"); } -- cgit