summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/machine_sid.c6
1 files 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");
}