first cut at adding full transactions for ctdb to samba3
[kai/samba-autobuild/.git] / source3 / passdb / secrets.c
index fc01aa19b975aa15b30427c27ba532e38ce20e24..4527ae712766e47fb0a719450d312e15e573c7bd 100644 (file)
@@ -64,8 +64,8 @@ bool secrets_init(void)
                return false;
        }
 
-       db_ctx = db_open_trans(NULL, fname, 0,
-                              TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
+       db_ctx = db_open(NULL, fname, 0,
+                        TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
 
        if (db_ctx == NULL) {
                DEBUG(0,("Failed to open %s\n", fname));